summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-10-30 18:35:46 +0100
committerlassulus <lassulus@googlemail.com>2013-10-30 18:35:46 +0100
commitc68e5fea30904d22caa40084cac929e976f9cb26 (patch)
treefe0d6d20f4af7f040ab6c2bcdbd00aacf91fbcf9 /util
parent42748584f82c93e674e1c7dc94d90de1f0a364ae (diff)
make-realwallpaper now with exit when no image
Diffstat (limited to 'util')
-rwxr-xr-xutil/bin/make-realwallpaper3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/bin/make-realwallpaper b/util/bin/make-realwallpaper
index 07903ac3..9fb4da7d 100755
--- a/util/bin/make-realwallpaper
+++ b/util/bin/make-realwallpaper
@@ -12,12 +12,15 @@ wait
if file -ib Nightmap_bare.jpg|grep -q ^image/; then
rm Nightmap_bare.jpg
+ exit 1
fi
if file -ib Daymap_bare.png|grep -q ^image/; then
rm Daymap_bare.png
+ exit 1
fi
if file -ib Clouds.jpg|grep -q ^image/; then
rm Clouds.jpg
+ exit 1
fi
#resize the Daymap