From 8b31b7db47438b72504915efa062702ff99860f6 Mon Sep 17 00:00:00 2001 From: euer Date: Fri, 7 Dec 2012 15:56:32 +0100 Subject: update create-host-tar now using gzip --- retiolum/bin/create-host-tar | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'retiolum/bin') 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 -- cgit v1.2.3