summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-10-30 17:58:43 +0100
committerlassulus <lassulus@googlemail.com>2013-10-30 17:58:43 +0100
commitb53410695a3cba576d7c36292c9e10d9045912bc (patch)
tree181285732a93d97984e600ab8ff815f824fa162e /util
parent8aa8a9082eb362ff8ebe7a86f37d2ce6f155da22 (diff)
make-realwallpaper removed internetcheck
Diffstat (limited to 'util')
-rwxr-xr-xutil/bin/make-realwallpaper8
1 files changed, 1 insertions, 7 deletions
diff --git a/util/bin/make-realwallpaper b/util/bin/make-realwallpaper
index 212b1786..f6bf9c2f 100755
--- a/util/bin/make-realwallpaper
+++ b/util/bin/make-realwallpaper
@@ -1,16 +1,10 @@
#!/bin/sh
+set -euf
###### USAGE #####
#run in new directory(will be polluted with images
#just run ./make-realwallpaper
-
-
-if ! ping -w 10 8.8.8.8 | sed -n '/time=[1-9.]* ms/{p;q}'|grep -q . ; then
- echo "we need internet"
- exit 1
-fi
-
curl -z Nightmap_bare.jpg http://awka.sourceforge.net/Night_le_huge.jpg -o Nightmap_bare.jpg
curl -z Daymap_bare.png http://www.nnvl.noaa.gov/images/globaldata/SnowIceCover_Daily.png -o Daymap_bare.png
curl -z Clouds.jpg http://user.chol.com/~winxplanet/cloud_data/clouds_2048.jpg -o Clouds.jpg