diff options
Diffstat (limited to 'qtsixa')
-rwxr-xr-x | qtsixa/watch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qtsixa/watch b/qtsixa/watch index 332de0c..cb8648c 100755 --- a/qtsixa/watch +++ b/qtsixa/watch @@ -2,6 +2,7 @@ wget http://sourceforge.net/projects/qtsixa/files/ >/dev/null 2>/dev/null if [ $? = 0 ]; then + [ -f unfetchable ] && rm unfetchable grep 'title="QtSixA' < index.html | md5sum > new-sum touch sum if [ "$(cat sum)" = "$(cat new-sum)" ]; then @@ -11,7 +12,8 @@ if [ $? = 0 ]; then echo 'qtsixa' fi rm index.html -else +elif [ ! -f unfetchable ] + touch unfetchable echo 'qtsixa (unfetchable)' fi |