diff options
author | lassulus <lassulus@googlemail.com> | 2013-10-30 17:58:43 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-10-30 17:58:43 +0100 |
commit | b53410695a3cba576d7c36292c9e10d9045912bc (patch) | |
tree | 181285732a93d97984e600ab8ff815f824fa162e /util | |
parent | 8aa8a9082eb362ff8ebe7a86f37d2ce6f155da22 (diff) |
make-realwallpaper removed internetcheck
Diffstat (limited to 'util')
-rwxr-xr-x | util/bin/make-realwallpaper | 8 |
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 |