From d98c5233e31211e504a65e8d717439beedf104f8 Mon Sep 17 00:00:00 2001 From: euer Date: Fri, 7 Dec 2012 22:56:19 +0100 Subject: now pulls newest version when triggered --- retiolum/bin/create-host-tar | 1 + 1 file changed, 1 insertion(+) diff --git a/retiolum/bin/create-host-tar b/retiolum/bin/create-host-tar index 305f174c..9def7cec 100755 --- a/retiolum/bin/create-host-tar +++ b/retiolum/bin/create-host-tar @@ -3,6 +3,7 @@ set -xeuf WEBDIR=${WEBDIR:-/srv/http/pub/retiolum} HOSTFILE=$WEBDIR/hosts.tar.gz cd $(dirname $(readlink -f $0)) +git pull origin master || logger "cannot pull painload" #rm $HOSTFILE tar czf $HOSTFILE -C ../hosts . chmod a+rx $HOSTFILE -- cgit v1.2.3