From 0a94bb8379ab485b0e58bdbaf9d969362f4b1efc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 20 Nov 2012 05:48:03 +0100 Subject: due not notify about a package being unfetchable twice, now that running this is automated. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- blender-plugin-vectex/watch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'blender-plugin-vectex') 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 -- cgit v1.2.3-70-g09d2