summaryrefslogtreecommitdiffstats
path: root/retiolum/bin/create-host-tar
diff options
context:
space:
mode:
authorLassulus <lassulus@googlemail.com>2012-12-10 01:13:19 +0100
committerLassulus <lassulus@googlemail.com>2012-12-10 01:13:19 +0100
commitf64da1f8c0531bb72f1917e29d365fe888e1df31 (patch)
tree654e0d95556524c8947ff2b0b766b58435a5e03a /retiolum/bin/create-host-tar
parent88b6956f32ed74be82a401a7716398a622a9042f (diff)
parent0cb539ed99e1b43f0098ebce82e8b913cc38f256 (diff)
Merge branch 'master' of github.com:krebscode/painload
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