summaryrefslogtreecommitdiff
path: root/helpers/lh_source_debian-live
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_source_debian-live')
-rwxr-xr-xhelpers/lh_source_debian-live9
1 files changed, 2 insertions, 7 deletions
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}"