aboutsummaryrefslogtreecommitdiffstats
path: root/blender-plugin-vectex/watch
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-11-20 05:48:03 +0100
committerMattias Andrée <maandree@operamail.com>2012-11-20 05:48:03 +0100
commit0a94bb8379ab485b0e58bdbaf9d969362f4b1efc (patch)
treeaba74020aa4ebc05afddcdbbd16151d908ae3417 /blender-plugin-vectex/watch
parentwatch fix for qtsixa (diff)
downloadaur-packages-0a94bb8379ab485b0e58bdbaf9d969362f4b1efc.tar.gz
aur-packages-0a94bb8379ab485b0e58bdbaf9d969362f4b1efc.tar.bz2
aur-packages-0a94bb8379ab485b0e58bdbaf9d969362f4b1efc.tar.xz
due not notify about a package being unfetchable twice, now that running this is automated.
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-xblender-plugin-vectex/watch4
1 files changed, 3 insertions, 1 deletions
diff --git a/blender-plugin-vectex/watch b/blender-plugin-vectex/watch
index 21bc8a0..f1502d2 100755
--- a/blender-plugin-vectex/watch
+++ b/blender-plugin-vectex/watch
@@ -2,6 +2,7 @@
wget http://code.google.com/p/vectex/ >/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 'blender-plugin-vectex'
fi
rm index.html
-else
+elif [ ! -f unfetchable ]
+ touch unfetchable
echo 'blender-plugin-vectex (unfetchable)'
fi