| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function brandAnaconda { |
| |
| |
| local ARTDIR=$(cli_getRepoTLDir $ACTIONVAL)/Identity/Images/Themes/$(cli_getPathComponent $ACTIONVAL --motif)/Distro/Anaconda |
| local PIXMAP=/usr/share/anaconda/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 |
| anaconda_header.png ) |
| SOURCE=$ARTDIR/Header/Img/$MAJOR_RELEASE/$FILE |
| TARGET=$PIXMAP/$FILE |
| ;; |
| |
| progress_first*.png | first*.png ) |
| SOURCE=$ARTDIR/Progress/Img/$MAJOR_RELEASE/$FILE |
| TARGET=$PIXMAP/$FILE |
| ;; |
| |
| rnotes | rnotes/?? | rnotes/??_?? ) |
| continue |
| ;; |
| |
| rnotes/??-*.png ) |
| FILE=$(basename $FILE | sed -r 's!-centos[0-9]+!!') |
| SOURCE=$ARTDIR/Progress/Img/$MAJOR_RELEASE/en/$FILE |
| TARGET=$PIXMAP/rnotes/$FILE |
| ;; |
| |
| rnotes/*/??-*.png ) |
| LANGUAGE=$(echo $FILE | sed -r 's!rnotes/(.+)/.*!\1!') |
| FILE=$(basename $FILE | sed -r 's!-centos[0-9]+!!') |
| SOURCE=$ARTDIR/Progress/Img/$MAJOR_RELEASE/$LANGUAGE/$FILE |
| TARGET=$PIXMAP/rnotes/$LANGUAGE/$FILE |
| ;; |
| |
| splash.png ) |
| SOURCE=$ARTDIR/Splash/Img/$MAJOR_RELEASE/$FILE |
| TARGET=$PIXMAP/$FILE |
| ;; |
| |
| syslinux-splash.png ) |
| TARGET=$PIXMAP/$FILE |
| FILE=$(echo $FILE | sed -r 's!\.png$!-16c.png!') |
| SOURCE=$ARTDIR/Prompt/Img/$MAJOR_RELEASE/$FILE |
| ;; |
| |
| * ) |
| TARGET=$PIXMAP/$FILE |
| SOURCE=$ARTDIR/$FILE |
| esac |
| |
| |
| |
| |
| |
| cli_checkFiles "$SOURCE" |
| |
| |
| cli_printMessage "$TARGET" --as-updating-line |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| done |
| } |