aboutsummaryrefslogtreecommitdiffstats
path: root/pony/watch
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-13 13:17:40 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-13 13:17:40 +0200
commit1b0561c15d12794ccf5ce32b6298db65d0aa306a (patch)
treefb14de76fcc4c593018252e466cb720a103a4fa7 /pony/watch
parentyet another version of latex-beamer (diff)
downloadaur-packages-1b0561c15d12794ccf5ce32b6298db65d0aa306a.tar.gz
aur-packages-1b0561c15d12794ccf5ce32b6298db65d0aa306a.tar.bz2
aur-packages-1b0561c15d12794ccf5ce32b6298db65d0aa306a.tar.xz
improve watch script for pony
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'pony/watch')
-rwxr-xr-xpony/watch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pony/watch b/pony/watch
index ec0f3f3..4668fdc 100755
--- a/pony/watch
+++ b/pony/watch
@@ -1,7 +1,7 @@
#!/bin/sh
[ -f 'pony' ] && rm 'pony'
-wget http://hackage.haskell.org/package/pony >/dev/null 2>/dev/null
+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