aboutsummaryrefslogtreecommitdiffstats
path: root/javagnutar/watch
diff options
context:
space:
mode:
Diffstat (limited to 'javagnutar/watch')
-rwxr-xr-xjavagnutar/watch20
1 files changed, 0 insertions, 20 deletions
diff --git a/javagnutar/watch b/javagnutar/watch
deleted file mode 100755
index fe43565..0000000
--- a/javagnutar/watch
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-[ -f 'index.html' ] && rm 'index.html'
-wget http://code.google.com/p/javagnutar/ >/dev/null 2>/dev/null
-if [ $? = 0 ]; then
- [ -f unfetchable ] && rm unfetchable
- 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
-elif [ ! -f unfetchable ]; then
- touch unfetchable
- echo 'javagnutar (unfetchable)'
-fi
-