From db52a809ec7cecc10c596dbcd1dbb56f9c5ac90d Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Dec 09 2010 15:24:15 +0000 Subject: Update render_doIdentityImageGrub.sh function script. --- diff --git a/Scripts/Bash/Functions/Render/render_doIdentityImageGrub.sh b/Scripts/Bash/Functions/Render/render_doIdentityImageGrub.sh index 80a221f..655b153 100644 --- a/Scripts/Bash/Functions/Render/render_doIdentityImageGrub.sh +++ b/Scripts/Bash/Functions/Render/render_doIdentityImageGrub.sh @@ -59,14 +59,19 @@ function render_doIdentityImageGrub { fi done - # Define Motif's palette location. We do this relatively. - local PALETTES=/home/centos/artwork/trunk/Identity/Themes/Motifs/$(cli_getThemeName)/Colors - + # Define motif's palette location. + local PALETTES=$(cli_getRepoTopLevelPath)/Identity/Themes/Motifs/$(cli_getThemeName)/Colors + # Define the Netpbm color palettes used when reducing colors. # These palettes should be 14 colors based. For more information # on this see the GRUB's documentation. local PALETTE_PPM=$PALETTES/grub.ppm + # Print which palette of colors centos-art.sh script is using to + # produce grub content. This is relevant in order to know if we + # are using wether trunk or branches palette of colors. + cli_printMessage "$PALETTE_PPM" 'AsPaletteLine' + # Check GRUB's palettes existence: If there is no palette assume # that this is the first time you are rendering GRUB images. If # that is the case the script will provide you with the PNG format