diff options
author | Mattias Andrée <maandree@kth.se> | 2017-02-03 00:25:16 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-02-03 00:25:16 +0100 |
commit | 80dfbf2a4df000aa124d3b37e1e057be695ed54e (patch) | |
tree | 4e8269d95fcb30653c80e2ad6c87443243a6bf4f /latex-beamer/watch | |
parent | Update libspoton, and working on spot-on (diff) | |
download | aur-packages-80dfbf2a4df000aa124d3b37e1e057be695ed54e.tar.gz aur-packages-80dfbf2a4df000aa124d3b37e1e057be695ed54e.tar.bz2 aur-packages-80dfbf2a4df000aa124d3b37e1e057be695ed54e.tar.xz |
Update latex-beamer
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rwxr-xr-x | latex-beamer/watch | 8 |
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)' |