From c68e5fea30904d22caa40084cac929e976f9cb26 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 30 Oct 2013 18:35:46 +0100 Subject: make-realwallpaper now with exit when no image --- util/bin/make-realwallpaper | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util') 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 -- cgit v1.2.3