diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-11-17 07:42:26 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-11-17 07:42:26 +0100 |
commit | 5262abbe07430721da96ef1b1a19884b03725478 (patch) | |
tree | ddb87ceebd3f8da1c872665b70f88a65415abda5 | |
parent | m (diff) | |
download | aur-packages-5262abbe07430721da96ef1b1a19884b03725478.tar.gz aur-packages-5262abbe07430721da96ef1b1a19884b03725478.tar.bz2 aur-packages-5262abbe07430721da96ef1b1a19884b03725478.tar.xz |
auto update watch for javagnutar
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-x | javagnutar/watch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/javagnutar/watch b/javagnutar/watch new file mode 100755 index 0000000..1a82980 --- /dev/null +++ b/javagnutar/watch @@ -0,0 +1,17 @@ +#!/bin/sh + +wget http://code.google.com/p/javagnutar/ >/dev/null 2>/dev/null +if [ $? = 0 ]; then + grep \\.zip < index.html | md5sum > new-sum + touch sum + if [ "$(cat sum)" = "$(cat new-sum)" ]; then + rm new-sum + else + mv new-sum sum + echo 'javagnutar' + fi + rm index.html +else + echo 'javagnutar (unfetchable)' +fi + |