summaryrefslogtreecommitdiffstats
path: root/retiolum/bin/create-host-tar
diff options
context:
space:
mode:
authoreuer <root@euer.krebsco.de>2012-12-07 22:56:19 +0100
committereuer <root@euer.krebsco.de>2012-12-07 22:56:19 +0100
commitd98c5233e31211e504a65e8d717439beedf104f8 (patch)
tree36a4589b3bf9b74f8c806c308eaee7e158b24c81 /retiolum/bin/create-host-tar
parentd263d0e9e7e6c37f793eb3ec1908d188849f5d02 (diff)
now pulls newest version when triggered
Diffstat (limited to 'retiolum/bin/create-host-tar')
-rwxr-xr-xretiolum/bin/create-host-tar1
1 files changed, 1 insertions, 0 deletions
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