diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-11-17 07:16:55 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-11-17 07:16:55 +0100 |
commit | fdc738101293ef9415f50075ad08273577814cc2 (patch) | |
tree | 169536a4a36b1956b58e804db8d4d10afbd7bf17 /pony/watch | |
parent | license (diff) | |
download | aur-packages-fdc738101293ef9415f50075ad08273577814cc2.tar.gz aur-packages-fdc738101293ef9415f50075ad08273577814cc2.tar.bz2 aur-packages-fdc738101293ef9415f50075ad08273577814cc2.tar.xz |
adopt pony
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-x | pony/watch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pony/watch b/pony/watch new file mode 100755 index 0000000..c8a8af5 --- /dev/null +++ b/pony/watch @@ -0,0 +1,16 @@ +#!/bin/sh + +wget http://hackage.haskell.org/package/pony >/dev/null 2>/dev/null +if [ $? = 0 ]; then + md5sum < pony > new-sum + if [ "$(cat sum)" = "$(cat new-sum)" ]; then + rm new-sum + else + mv new-sum sum + echo 'pony' + fi + rm pony +else + echo 'pony (unfetchable)' +fi + |