projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch UTC setting from /etc/default/rcS to /etc/adjtime
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRMLBASE
/
47-update-wallpaper
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/47-update-wallpaper
b/etc/grml/fai/config/scripts/GRMLBASE/47-update-wallpaper
index
ca0a303
..
bd5f8c4
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/47-update-wallpaper
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/47-update-wallpaper
@@
-19,6
+19,16
@@
if [ ! -x "$(which convert)" ]; then
exit 0
fi
exit 0
fi
+if [ ! -f "$GRML_BG" ]; then
+ echo "Could not find Grml background image, skipping wallpaper"
+ exit 0
+fi
+
+if [ ! -f "$FONTFILE" ]; then
+ echo "Could not find font $FONTFILE, skipping wallpaper"
+ exit 0
+fi
+
echo "Creating standard wallpaper"
convert "$GRML_BG" -gravity center \
echo "Creating standard wallpaper"
convert "$GRML_BG" -gravity center \