summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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