diff --git a/Scripts/Bash/Functions/Identity/identity_getConfig.sh b/Scripts/Bash/Functions/Identity/identity_getConfig.sh index da59748..fe459a6 100755 --- a/Scripts/Bash/Functions/Identity/identity_getConfig.sh +++ b/Scripts/Bash/Functions/Identity/identity_getConfig.sh @@ -50,13 +50,6 @@ function identity_getConfig { done - # Check post-rendition actions. Validation of post-rendition - # actions is action-specific. So, validation of post-rendition - # actions is not here, but inside action-specific functions. See - # identity_renderImages and identity_renderIdentityTexts to see - # validation of renderImage and renderText post-rendition actions, - # respectively. - # Sanitate theme model value using repository directory name # convenction. THEMEMODEL=$(cli_getRepoName "$THEMEMODEL" 'd') diff --git a/Scripts/Bash/Functions/Identity/identity_render.sh b/Scripts/Bash/Functions/Identity/identity_render.sh index 15a2d20..fa1300b 100755 --- a/Scripts/Bash/Functions/Identity/identity_render.sh +++ b/Scripts/Bash/Functions/Identity/identity_render.sh @@ -1,10 +1,10 @@ #!/bin/bash # -# identity_render.sh -- This function initiates rendition configuration -# functions and executes them to perform the rendition action -# specified in the `ACTIONS' array variable. Function initialization -# and execution is based on the absolute path convenction defined by -# ARTCONF variable. +# identity_render.sh -- This function initiates rendition +# configuration functions and executes them to perform the rendition +# action specified in the `ACTIONS' array variable. Function +# initialization and execution is based on the absolute path +# convenction defined by ARTCONF variable. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -51,7 +51,7 @@ function identity_render { # Define artwork-specific action arrays. We need to do this # here because ACTIONS variable is unset after - # identity_renderImages execution. Otherwise, undesired + # identity_renders execution. Otherwise, undesired # concatenations may occur. local -a ACTIONS local -a POSTACTIONS diff --git a/Scripts/Bash/Functions/Identity/identity_renderBase.sh b/Scripts/Bash/Functions/Identity/identity_renderBase.sh index 2ffb3f5..c1a89d7 100755 --- a/Scripts/Bash/Functions/Identity/identity_renderBase.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderBase.sh @@ -188,15 +188,15 @@ function identity_renderBase { case "$ACTION" in renderSyslinux* ) - identity_renderImageSyslinux "${FILE}" "$ACTION" + identity_renderSyslinux "${FILE}" "$ACTION" ;; renderGrub* ) - identity_renderImageGrub "${FILE}" "$ACTION" + identity_renderGrub "${FILE}" "$ACTION" ;; renderFormats:* ) - identity_renderImageFormats "${FILE}" "$ACTION" + identity_renderFormats "${FILE}" "$ACTION" ;; groupByType:* ) @@ -238,11 +238,11 @@ function identity_renderBase { case "$ACTION" in renderKSplash ) - identity_renderImageKsplash + identity_renderKsplash ;; renderDm:* ) - identity_renderImageDm "$ACTION" + identity_renderDm "$ACTION" ;; groupByType:* ) @@ -250,7 +250,7 @@ function identity_renderBase { ;; renderBrands ) - identity_renderImageBrands "${FILE}" "$ACTION" + identity_renderBrands "${FILE}" "$ACTION" ;; esac diff --git a/Scripts/Bash/Functions/Identity/identity_renderBrands.sh b/Scripts/Bash/Functions/Identity/identity_renderBrands.sh index 23950b4..16a1049 100644 --- a/Scripts/Bash/Functions/Identity/identity_renderBrands.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderBrands.sh @@ -1,10 +1,9 @@ #!/bin/bash # -# identity_renderImageBrands.sh -- This function provides -# last-rendition actions to produce CentOS brands. This function takes -# both The CentOS Symbol and The CentOS Type images and produces -# variation of them in different dimensions and formats using -# ImageMagick tool-set. +# identity_renderBrands.sh -- This function provides last-rendition +# actions to produce CentOS brands. This function takes both The +# CentOS Symbol and The CentOS Type images and produces variation of +# them in different dimensions and formats using ImageMagick tool-set. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -27,7 +26,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_renderImageBrands { +function identity_renderBrands { local SOURCEFILE='' local TARGETDIR='' diff --git a/Scripts/Bash/Functions/Identity/identity_renderDm.sh b/Scripts/Bash/Functions/Identity/identity_renderDm.sh index 17f3909..1231655 100755 --- a/Scripts/Bash/Functions/Identity/identity_renderDm.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderDm.sh @@ -1,13 +1,12 @@ #!/bin/bash # -# identity_renderImageDm.sh -- This function collects Display -# Manager (DM) required files and creates a tar.gz package that groups -# them all together. Use this function as last-rendition action for -# Gdm and Kdm base-rendition actions. +# identity_renderDm.sh -- This function collects Display Manager (DM) +# required files and creates a tar.gz package that groups them all +# together. Use this function as last-rendition action for Gdm and Kdm +# base-rendition actions. # # Usage: # -# ACTIONS[0]='BASE:renderImage' # ACTIONS[1]='LAST:renderDm:TYPE:RESOLUTION' # # Where: @@ -47,7 +46,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_renderImageDm { +function identity_renderDm { local -a SRC local -a DST diff --git a/Scripts/Bash/Functions/Identity/identity_renderFormats.sh b/Scripts/Bash/Functions/Identity/identity_renderFormats.sh index b42a261..eb3c079 100644 --- a/Scripts/Bash/Functions/Identity/identity_renderFormats.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderFormats.sh @@ -1,10 +1,10 @@ #!/bin/bash # -# identity_renderImageFormats.sh -- This function provides -# post-rendition action used to convert images from PNG to different -# image formats. This function uses ImageMagick command line image -# manipulation tool set to convert the base PNG image to as many -# formats as ImageMagick supports. +# identity_renderFormats.sh -- This function provides post-rendition +# action used to convert images from PNG to different image formats. +# This function uses ImageMagick command line image manipulation tool +# set to convert the base PNG image to as many formats as ImageMagick +# supports. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -27,7 +27,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_renderImageFormats { +function identity_renderFormats { # Get absolute path of PNG image file. local FILE="$1" diff --git a/Scripts/Bash/Functions/Identity/identity_renderGrub.sh b/Scripts/Bash/Functions/Identity/identity_renderGrub.sh index 19e9b4f..f937509 100644 --- a/Scripts/Bash/Functions/Identity/identity_renderGrub.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderGrub.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# identity_renderImageGrub.sh -- This function provides -# post-rendition action used to produce GRUB images. +# identity_renderGrub.sh -- This function provides post-rendition +# action used to produce GRUB images. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_renderImageGrub { +function identity_renderGrub { local FILE="$1" local ACTION="$2" diff --git a/Scripts/Bash/Functions/Identity/identity_renderKsplash.sh b/Scripts/Bash/Functions/Identity/identity_renderKsplash.sh index 02f21f3..f88f0e9 100755 --- a/Scripts/Bash/Functions/Identity/identity_renderKsplash.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderKsplash.sh @@ -1,9 +1,9 @@ #!/bin/bash # -# identity_renderImageKsplash.sh -- This function collects KDE -# splash (KSplash) required files and creates a tar.gz package that -# groups them all together. Use this function as last-rendition -# action for KSplash base-rendition action. +# identity_renderKsplash.sh -- This function collects KDE splash +# (KSplash) required files and creates a tar.gz package that groups +# them all together. Use this function as last-rendition action for +# KSplash base-rendition action. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -26,7 +26,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_renderImageKsplash { +function identity_renderKsplash { local -a SRC local -a DST diff --git a/Scripts/Bash/Functions/Identity/identity_renderSyslinux.sh b/Scripts/Bash/Functions/Identity/identity_renderSyslinux.sh index 536ff17..90d9f0f 100755 --- a/Scripts/Bash/Functions/Identity/identity_renderSyslinux.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderSyslinux.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# identity_renderImageSyslinux.sh -- This function provides -# post-rendition action used to produce syslinux images. +# identity_renderSyslinux.sh -- This function provides post-rendition +# action used to produce syslinux images. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_renderImageSyslinux { +function identity_renderSyslinux { local FILE="$1" local ACTION="$2"