summaryrefslogtreecommitdiffstats
path: root/retiolum/bin
diff options
context:
space:
mode:
authoreuer <root@euer.krebsco.de>2012-12-07 15:56:32 +0100
committereuer <root@euer.krebsco.de>2012-12-07 15:56:32 +0100
commit8b31b7db47438b72504915efa062702ff99860f6 (patch)
treebcfd8e1ed4625abca3bb433d0f97ebe031ffbb6a /retiolum/bin
parent1fa6c7a186a97f833028e4dcb4ec63d631cffa22 (diff)
update create-host-tar
now using gzip
Diffstat (limited to 'retiolum/bin')
-rwxr-xr-xretiolum/bin/create-host-tar4
1 files changed, 2 insertions, 2 deletions
diff --git a/retiolum/bin/create-host-tar b/retiolum/bin/create-host-tar
index 344109d1..305f174c 100755
--- a/retiolum/bin/create-host-tar
+++ b/retiolum/bin/create-host-tar
@@ -1,8 +1,8 @@
#!/bin/sh
set -xeuf
WEBDIR=${WEBDIR:-/srv/http/pub/retiolum}
-HOSTFILE=$WEBDIR/hosts.tar
+HOSTFILE=$WEBDIR/hosts.tar.gz
cd $(dirname $(readlink -f $0))
#rm $HOSTFILE
-tar cf $HOSTFILE -C ../hosts .
+tar czf $HOSTFILE -C ../hosts .
chmod a+rx $HOSTFILE