diff options
Diffstat (limited to 'qtsixa/watch')
-rwxr-xr-x | qtsixa/watch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/qtsixa/watch b/qtsixa/watch new file mode 100755 index 0000000..40b452e --- /dev/null +++ b/qtsixa/watch @@ -0,0 +1,17 @@ +#!/bin/sh + +wget http://sourceforge.net/projects/qtsixa/files/ >/dev/null 2>/dev/null +if [ $? = 0 ]; then + grep QtSixA < index.html | md5sum > new-sum + touch sum + if [ "$(cat sum)" = "$(cat new-sum)" ]; then + rm new-sum + else + mv new-sum sum + echo 'qtsixa' + fi + rm index.html +else + echo 'qtsixa (unfetchable)' +fi + |