aboutsummaryrefslogtreecommitdiffstats
path: root/blender-plugin-vectex/watch
diff options
context:
space:
mode:
Diffstat (limited to 'blender-plugin-vectex/watch')
-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
+