From c75704eae00df73d442ab5ca87f4cce3cd923c6c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Mar 2015 16:12:36 +0100 Subject: update latex-beamer and its watch script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- latex-beamer/watch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'latex-beamer/watch') diff --git a/latex-beamer/watch b/latex-beamer/watch index a6b514d..a2197fa 100755 --- a/latex-beamer/watch +++ b/latex-beamer/watch @@ -1,10 +1,10 @@ #!/bin/sh -[ -f 'overview' ] && rm 'overview' -wget https://bitbucket.org/rivanvx/beamer/overview >/dev/null 2>/dev/null +[ -f 'downloads' ] && rm 'downloads' +wget https://bitbucket.org/rivanvx/beamer/downloads >/dev/null 2>/dev/null if [ $? = 0 ]; then [ -f unfetchable ] && rm unfetchable - grep ' Tags' < overview | md5sum > new-sum + grep ' Tags' < downloads | 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 overview + rm downloads elif [ ! -f unfetchable ]; then touch unfetchable echo 'latex-beamer (unfetchable)' -- cgit v1.2.3-70-g09d2