From ec83843d6e5e7b1ca8473cf7f9b05fdfe10d220f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 11 Sep 2009 09:39:13 +0200 Subject: Allowing to overwrite default gzip options through config switch or option. --- helpers/lh_source_debian-live | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'helpers/lh_source_debian-live') diff --git a/helpers/lh_source_debian-live b/helpers/lh_source_debian-live index 03b39925b..809794c00 100755 --- a/helpers/lh_source_debian-live +++ b/helpers/lh_source_debian-live @@ -62,13 +62,8 @@ cd source SUFFIX="$(date +%Y%m%d.%s)" -if gzip --help | grep -qs '\-\-rsyncable' -then - tar cf debian-live-config_${SUFFIX}.tar debian-live - gzip --rsyncable --best debian-live-config_${SUFFIX}.tar -else - tar cfz debian-live-config_${SUFFIX}.tar.gz debian-live -fi +tar cf debian-live-config_${SUFFIX}.tar debian-live +gzip ${GZIP_OPTIONS} debian-live-config_${SUFFIX}.tar cd "${OLDPWD}" -- cgit v1.2.3