summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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