From 97540a6c6bd28d979cd3947ea99733590380f996 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 30 Oct 2013 18:40:04 +0100 Subject: make-realwallpaer boolean fix --- util/bin/make-realwallpaper | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util') diff --git a/util/bin/make-realwallpaper b/util/bin/make-realwallpaper index 9fb4da7d..c612bdb9 100755 --- a/util/bin/make-realwallpaper +++ b/util/bin/make-realwallpaper @@ -10,15 +10,15 @@ curl -z Daymap_bare.png http://www.nnvl.noaa.gov/images/globaldata/SnowIceCover_ curl -z Clouds.jpg http://user.chol.com/~winxplanet/cloud_data/clouds_2048.jpg -o Clouds.jpg & wait -if file -ib Nightmap_bare.jpg|grep -q ^image/; then +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 +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 +if ! file -ib Clouds.jpg|grep -q ^image/; then rm Clouds.jpg exit 1 fi -- cgit v1.2.3