aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-gtk2
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-gtk2')
-rwxr-xr-xemacs-gtk2/watch4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs-gtk2/watch b/emacs-gtk2/watch
index 95a07a2..6a52673 100755
--- a/emacs-gtk2/watch
+++ b/emacs-gtk2/watch
@@ -7,6 +7,7 @@ mv 'PKGBUILD?h=packages%2Femacs' PKGBUILD.upstream.new
mv 'emacs.install?h=packages%2Femacs' emacs.install.upstream.new
if [ $? = 0 ]; then
+ [ -f unfetchable ] && rm unfetchable
grep ^pkg < PKGBUILD.upstream.new | md5sum > new-sum
touch sum
if [ "$(cat sum)" = "$(cat new-sum)" ]; then
@@ -19,7 +20,8 @@ if [ $? = 0 ]; then
mv emacs.install.upstream.{new,old}
echo 'emacs-gtk2'
fi
-else
+elif [ ! -f unfetchable ]
+ touch unfetchable
echo 'emacs-gtk2 (unfetchable)'
fi