aboutsummaryrefslogtreecommitdiffstats
path: root/latex-beamer/watch
diff options
context:
space:
mode:
Diffstat (limited to 'latex-beamer/watch')
-rwxr-xr-xlatex-beamer/watch8
1 files changed, 4 insertions, 4 deletions
diff --git a/latex-beamer/watch b/latex-beamer/watch
index a2197fa..a6f2116 100755
--- a/latex-beamer/watch
+++ b/latex-beamer/watch
@@ -1,10 +1,10 @@
#!/bin/sh
-[ -f 'downloads' ] && rm 'downloads'
-wget https://bitbucket.org/rivanvx/beamer/downloads >/dev/null 2>/dev/null
+[ -f 'releases' ] && rm 'releases'
+wget https://github.com/christianbundy/sshcd/releases -O releases >/dev/null 2>/dev/null
if [ $? = 0 ]; then
[ -f unfetchable ] && rm unfetchable
- grep '</span> Tags' < downloads | md5sum > new-sum
+ grep '</span> Tags' < releases | md5sum > new-sum
touch sum
if [ "$(cat sum)" = "$(cat new-sum)" ]; then
rm new-sum
@@ -12,7 +12,7 @@ if [ $? = 0 ]; then
mv new-sum sum
echo 'latex-beamer'
fi
- rm downloads
+ rm releases
elif [ ! -f unfetchable ]; then
touch unfetchable
echo 'latex-beamer (unfetchable)'