From fdc738101293ef9415f50075ad08273577814cc2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 17 Nov 2012 07:16:55 +0100 Subject: adopt pony MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- pony/watch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 pony/watch (limited to 'pony/watch') 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 + -- cgit v1.2.3-70-g09d2