| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function brandFirstboot { |
| |
| |
| local ARTDIR=~/artwork/trunk/Identity/Themes/$(cli_getThemeName)/Distro/Anaconda |
| local PIXMAP=/usr/share/firstboot/pixmaps |
| local SOURCE='' |
| local TARGET='' |
| |
| |
| |
| |
| |
| local FILES=$(find ${PIXMAP}/ | sort | uniq | sed "s!${PIXMAP}/!!g") |
| local FILE='' |
| |
| for FILE in $FILES;do |
| |
| |
| |
| case $FILE in |
| |
| splash-small.png ) |
| SOURCE=$ARTDIR/Firstboot/Img/$MAJOR_RELEASE/$FILE |
| TARGET=$PIXMAP/$FILE |
| ;; |
| |
| firstboot-left.png ) |
| SOURCE=$ARTDIR/Firstboot/Img/$FILE |
| TARGET=$PIXMAP/$FILE |
| ;; |
| |
| * ) |
| SOURCE=$ARTDIR/Firstboot/Img/$FILE |
| TARGET=$PIXMAP/$FILE |
| esac |
| |
| |
| |
| |
| |
| cli_checkFiles "$SOURCE" |
| |
| |
| cli_printMessage "$TARGET" "AsUpdatingLine" |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| done |
| } |