aboutsummaryrefslogtreecommitdiffstats
path: root/blender-plugin-vectex/watch
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-11-17 08:30:31 +0100
committerMattias Andrée <maandree@operamail.com>2012-11-17 08:30:31 +0100
commit23450faaf231a567a90e658512060f1ade89b042 (patch)
tree1587feb7ea699dbd30e186e5bb8ec0b2624a9912 /blender-plugin-vectex/watch
parentautomatic update watch for rssyl (diff)
downloadaur-packages-23450faaf231a567a90e658512060f1ade89b042.tar.gz
aur-packages-23450faaf231a567a90e658512060f1ade89b042.tar.bz2
aur-packages-23450faaf231a567a90e658512060f1ade89b042.tar.xz
adopt blender-plugin-vectex
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-xblender-plugin-vectex/watch17
1 files changed, 17 insertions, 0 deletions
diff --git a/blender-plugin-vectex/watch b/blender-plugin-vectex/watch
new file mode 100755
index 0000000..21bc8a0
--- /dev/null
+++ b/blender-plugin-vectex/watch
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+wget http://code.google.com/p/vectex/ >/dev/null 2>/dev/null
+if [ $? = 0 ]; then
+ grep release < index.html | md5sum > new-sum
+ touch sum
+ if [ "$(cat sum)" = "$(cat new-sum)" ]; then
+ rm new-sum
+ else
+ mv new-sum sum
+ echo 'blender-plugin-vectex'
+ fi
+ rm index.html
+else
+ echo 'blender-plugin-vectex (unfetchable)'
+fi
+