diff options
Diffstat (limited to '')
-rw-r--r-- | xcftools/.gitignore | 1 | ||||
-rwxr-xr-x | xcftools/watch | 20 |
2 files changed, 1 insertions, 20 deletions
diff --git a/xcftools/.gitignore b/xcftools/.gitignore new file mode 100644 index 0000000..ff3de76 --- /dev/null +++ b/xcftools/.gitignore @@ -0,0 +1 @@ +versions diff --git a/xcftools/watch b/xcftools/watch deleted file mode 100755 index 09ac1eb..0000000 --- a/xcftools/watch +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -[ -f 'versions' ] && rm 'versions' -wget http://henning.makholm.net/xcftools -O - | grep -Po '<a [^>]*>' | grep 'xcftools' | grep -v asc > versions -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - md5sum < versions > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'xcftools' - fi - rm versions -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'xcftools (unfetchable)' -fi - |