From cbed78dd0e303436265f1f887647bd062101d6aa Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Mar 23 2011 23:01:06 +0000 Subject: Update render_mogrifyCommentToPng.sh. --- diff --git a/Scripts/Functions/Render/render_mogrifyCommentToPng.sh b/Scripts/Functions/Render/render_mogrifyCommentToPng.sh index 2bd22fe..ec938d0 100755 --- a/Scripts/Functions/Render/render_mogrifyCommentToPng.sh +++ b/Scripts/Functions/Render/render_mogrifyCommentToPng.sh @@ -29,15 +29,13 @@ function render_mogrifyCommentToPng { - # Get commentary. - local COMMENT=$(render_getConfigOption "$ACTION" '2-') + # Define commentary you want to write on PNG images. + local COMMENT="`gettext "Created in CentOS Artwork Repository"` (https://projects.centos.org/svn/artwork/)." # Check base file existence. cli_checkFiles ${FILE}.png 'f' - # Check commentary and write commentary. - if [[ "$COMMENT" != "" ]];then - mogrify -comment "$COMMENT" ${FILE}.png - fi + # Write commentary to PNG image. + mogrify -comment "$COMMENT" ${FILE}.png }