Skip to content
Snippets Groups Projects
Commit 8922046e authored by Lucas Manika Koeb's avatar Lucas Manika Koeb
Browse files

70-update_background_image: New background image names

parent b9b096cb
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,9 @@ checkUser || exit 1 ...@@ -37,7 +37,9 @@ checkUser || exit 1
checkMountedFS || exit 2 checkMountedFS || exit 2
loadConf "$PREFIX/conf/$1/create-iso.conf" $1 loadConf "$PREFIX/conf/$1/create-iso.conf" $1
IMAGE="$CHROOTDIR/usr/share/backgrounds/LE5.png" IMAGES="$CHROOTDIR/usr/share/backgrounds/le5-wallpaper1600X1200.png \
$CHROOTDIR/usr/share/backgrounds/le5-wallpaper1920X1080.png"
DISTNAME=$(echo $LEMIRROR | cut -d- -f1 | tr '[:lower:]' '[:upper:]') DISTNAME=$(echo $LEMIRROR | cut -d- -f1 | tr '[:lower:]' '[:upper:]')
MIRROR=$(echo $LEMIRROR | cut -d- -f2) MIRROR=$(echo $LEMIRROR | cut -d- -f2)
HOST=$(echo $LEHOST | cut -d. -f1) HOST=$(echo $LEHOST | cut -d. -f1)
...@@ -63,7 +65,9 @@ case "$MIRROR" in ...@@ -63,7 +65,9 @@ case "$MIRROR" in
;; ;;
esac esac
for IMAGE in $IMAGES; do
convert -font helvetica -fill "#f3f2ed" -pointsize 200 -gravity center \ convert -font helvetica -fill "#f3f2ed" -pointsize 200 -gravity center \
-draw "rotate 335 text 0,0 '$DISTNAME $RELEASE'" $IMAGE $IMAGE -draw "rotate 335 text 0,0 '$DISTNAME $RELEASE'" $IMAGE $IMAGE
done
exit 0 exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment