From b53410695a3cba576d7c36292c9e10d9045912bc Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 30 Oct 2013 17:58:43 +0100 Subject: make-realwallpaper removed internetcheck --- util/bin/make-realwallpaper | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'util/bin/make-realwallpaper') 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 -- cgit v1.2.3