aboutsummaryrefslogtreecommitdiffstats
path: root/pony/watch
diff options
context:
space:
mode:
Diffstat (limited to 'pony/watch')
-rwxr-xr-xpony/watch20
1 files changed, 0 insertions, 20 deletions
diff --git a/pony/watch b/pony/watch
deleted file mode 100755
index 4668fdc..0000000
--- a/pony/watch
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-[ -f 'pony' ] && rm 'pony'
-wget http://hackage.haskell.org/package/pony -O - | grep -Po 'pony-[^>]*' > pony 2>/dev/null
-if [ $? = 0 ]; then
- [ -f unfetchable ] && rm unfetchable
- md5sum < pony > new-sum
- touch sum
- if [ "$(cat sum)" = "$(cat new-sum)" ]; then
- rm new-sum
- else
- mv new-sum sum
- echo 'pony'
- fi
- rm pony
-elif [ ! -f unfetchable ]; then
- touch unfetchable
- echo 'pony (unfetchable)'
-fi
-