From db8b086bf52573bdc3b8d632028753ac8ab15487 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 3 Jun 2013 20:27:18 +0200 Subject: adopt texlive-europecv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- texlive-europecv/watch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 texlive-europecv/watch (limited to 'texlive-europecv/watch') diff --git a/texlive-europecv/watch b/texlive-europecv/watch new file mode 100755 index 0000000..51ec975 --- /dev/null +++ b/texlive-europecv/watch @@ -0,0 +1,21 @@ +#!/bin/sh + +[ -f europecv.release ] && rm europecv.release + +wget 'http://mirror.ctan.org/macros/latex/contrib/europecv.zip' -O europecv.release >/dev/null 2>/dev/null + +if [ $? = 0 ]; then + [ -f unfetchable ] && rm unfetchable + md5sum europecv.release > new-sum + touch sum + if [ "$(cat sum)" = "$(cat new-sum)" ]; then + rm new-sum + else + mv new-sum sum + echo 'texlive-europecv' + fi +elif [ ! -f unfetchable ]; then + touch unfetchable + echo 'texlive-europecv (unfetchable)' +fi + -- cgit v1.2.3-70-g09d2