diff options
Diffstat (limited to 'consolekit-git/watch')
-rwxr-xr-x | consolekit-git/watch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/consolekit-git/watch b/consolekit-git/watch deleted file mode 100755 index d57693b..0000000 --- a/consolekit-git/watch +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -wget 'http://cgit.freedesktop.org/ConsoleKit' -O - 2>/dev/null | grep -Po '\.tar.+>ConsoleKit-.+\.tar' | head -n 1 > release - -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - md5sum release > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'consolekit-git' - fi -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'consolekit-git (unfetchable)' -fi - |