diff options
Diffstat (limited to 'retiolum')
-rwxr-xr-x | retiolum/bin/create-host-tar | 4 |
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 |