summaryrefslogtreecommitdiffstats
path: root/retiolum/bin
diff options
context:
space:
mode:
Diffstat (limited to 'retiolum/bin')
-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