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