aboutsummaryrefslogtreecommitdiffstats
path: root/dooble/watch
diff options
context:
space:
mode:
Diffstat (limited to 'dooble/watch')
-rwxr-xr-xdooble/watch4
1 files changed, 3 insertions, 1 deletions
diff --git a/dooble/watch b/dooble/watch
index 4547d52..a1e2ddf 100755
--- a/dooble/watch
+++ b/dooble/watch
@@ -2,6 +2,7 @@
wget http://dooble.sourceforge.net/ >/dev/null 2>/dev/null
if [ $? = 0 ]; then
+ [ -f unfetchable ] && rm unfetchable
grep Release < index.html | md5sum > new-sum
touch sum
if [ "$(cat sum)" = "$(cat new-sum)" ]; then
@@ -11,7 +12,8 @@ if [ $? = 0 ]; then
echo 'dooble'
fi
rm index.html
-else
+elif [ ! -f unfetchable ]
+ touch unfetchable
echo 'dooble (unfetchable)'
fi