aboutsummaryrefslogtreecommitdiffstats
path: root/pony/watch
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2024-10-08 21:03:50 +0200
committerMattias Andrée <m@maandree.se>2024-10-08 21:03:50 +0200
commitbf4c24e7609bfb12f9246dcbc0b8bb1064708af6 (patch)
tree0f2e77f5a39e2e1dfecf6d62f4fdc697ab47cdfc /pony/watch
parentFix previous commit (diff)
downloadaur-packages-bf4c24e7609bfb12f9246dcbc0b8bb1064708af6.tar.gz
aur-packages-bf4c24e7609bfb12f9246dcbc0b8bb1064708af6.tar.bz2
aur-packages-bf4c24e7609bfb12f9246dcbc0b8bb1064708af6.tar.xz
cleanup
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-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
-