Skip to content
Snippets Groups Projects
Commit dfb025aa authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files

70-update_background_image: Check whether background image exists


On minicom server, for instance, the default LE background image is not used

Signed-off-by: default avatarDiego Pasqualin <dpasqualin@c3sl.ufpr.br>
parent fd5fb938
No related branches found
No related tags found
No related merge requests found
......@@ -66,8 +66,10 @@ case "$MIRROR" in
esac
for IMAGE in $IMAGES; do
convert -font helvetica -fill "#f3f2ed" -pointsize 200 -gravity center \
-draw "rotate 335 text 0,0 '$DISTNAME $RELEASE'" $IMAGE $IMAGE
if [ -f $IMAGE ]; then
convert -font helvetica -fill "#f3f2ed" -pointsize 200 -gravity center \
-draw "rotate 335 text 0,0 '$DISTNAME $RELEASE'" $IMAGE $IMAGE
fi
done
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment