diff options
Diffstat (limited to '')
-rwxr-xr-x | python2-numpydoc/watch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python2-numpydoc/watch b/python2-numpydoc/watch index a7dace9..e10f310 100755 --- a/python2-numpydoc/watch +++ b/python2-numpydoc/watch @@ -2,6 +2,7 @@ wget http://pypi.python.org/packages/source/n/numpydoc/ >/dev/null 2>/dev/null if [ $? = 0 ]; then + [ -f unfetchable ] && rm unfetchable grep numpydoc- < index.html | md5sum > new-sum touch sum if [ "$(cat sum)" = "$(cat new-sum)" ]; then @@ -11,7 +12,8 @@ if [ $? = 0 ]; then echo 'python2-numpydoc' fi rm index.html -else +elif [ ! -f unfetchable ] + touch unfetchable echo 'python2-numpydoc (unfetchable)' fi |