aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-scala-mode/watch
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-22 13:50:42 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-22 13:52:40 +0200
commit24f0aa15b6d1ed98123ccf1fe9b4f439c37ef036 (patch)
tree5e20df7ec81b8f9121f43e486b1a1d7783a5856a /emacs-scala-mode/watch
parentupdate dooble (diff)
downloadaur-packages-24f0aa15b6d1ed98123ccf1fe9b4f439c37ef036.tar.gz
aur-packages-24f0aa15b6d1ed98123ccf1fe9b4f439c37ef036.tar.bz2
aur-packages-24f0aa15b6d1ed98123ccf1fe9b4f439c37ef036.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'emacs-scala-mode/watch')
-rwxr-xr-xemacs-scala-mode/watch19
1 files changed, 0 insertions, 19 deletions
diff --git a/emacs-scala-mode/watch b/emacs-scala-mode/watch
deleted file mode 100755
index 2422906..0000000
--- a/emacs-scala-mode/watch
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-wget http://www.scala-lang.org/downloads -O - 2>/dev/null | grep -Po 'scala-tool-support-.+>' | head -n 2 > 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 'emacs-scala-mode'
- fi
-elif [ ! -f unfetchable ]; then
- touch unfetchable
- echo 'emacs-scala-mode (unfetchable)'
-fi
-