diff options
Diffstat (limited to '')
-rwxr-xr-x | pony/watch | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,7 @@ wget http://hackage.haskell.org/package/pony >/dev/null 2>/dev/null if [ $? = 0 ]; then + [ -f unfetchable ] && rm unfetchable md5sum < pony > new-sum touch sum if [ "$(cat sum)" = "$(cat new-sum)" ]; then @@ -11,7 +12,8 @@ if [ $? = 0 ]; then echo 'pony' fi rm pony -else +elif [ ! -f unfetchable ] + touch unfetchable echo 'pony (unfetchable)' fi |