42e42e
Update render_doSvgPostActions.sh.
@@ -33,6 +33,13 @@ function render_doSvgPostActions {
|
|
33
33
|
# post-rendition actions.
|
34
34
|
local -a POSTACTIONS
|
35
35
|
|
36
|
+
# Write copyright information to all PNG images produced as result
|
37
|
+
# of base-rendition action. The copyright information is written
|
38
|
+
# in the image datastream using the PNG commentary tag.
|
39
|
+
if [[ $TEMPLATE =~ 'trunk/Identity/.+\.svg$' ]];then
|
40
|
+
POSTACTIONS[((++${#POSTACTIONS[*]}))]="renderComment: $(cli_getCopyrightInfo)"
|
41
|
+
fi
|
42
|
+
|
36
43
|
# Execute SVG directory-specific post-rendition actions to the
|
37
44
|
# list of post actions and last actions. This is required in order
|
38
45
|
# to provide a predictable way of producing content inside the
|
@@ -45,7 +52,7 @@ function render_doSvgPostActions {
|
|
45
52
|
elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent '--release-pattern')/Syslinux/.+\.svg$" ]];then
|
46
53
|
POSTACTIONS[((++${#POSTACTIONS[*]}))]='renderSyslinux'
|
47
54
|
POSTACTIONS[((++${#POSTACTIONS[*]}))]='renderSyslinux:-floyd'
|
48
|
-
elif [[ $TEMPLATE =~ "Grub
|
55
|
+
elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent '--release-pattern')/Grub/.+\.svg$" ]];then
|
49
56
|
POSTACTIONS[((++${#POSTACTIONS[*]}))]='renderGrub'
|
50
57
|
POSTACTIONS[((++${#POSTACTIONS[*]}))]='renderGrub:-floyd'
|
51
58
|
elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent '--release-pattern')/Ksplash/.+\.svg$" ]];then
|
@@ -94,6 +101,10 @@ function render_doSvgPostActions {
|
|
94
101
|
render_doBrands
|
95
102
|
;;
|
96
103
|
|
104
|
+
renderComment:* )
|
105
|
+
render_mogrifyCommentToPng
|
106
|
+
;;
|
107
|
+
|
97
108
|
groupSimilarFiles:* )
|
98
109
|
render_groupSimilarFiles
|
99
110
|
;;
|