From de6a97102917fa8d46ff54fd607f619b75974385 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 21 Jul 2011 17:48:17 +0200 Subject: Setting default compression levels to -6 for gzip, bzip, lzip and lzma tarballs. --- functions/defaults.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'functions/defaults.sh') diff --git a/functions/defaults.sh b/functions/defaults.sh index 7870b4f85..30cf6f087 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -73,18 +73,18 @@ Set_defaults () APT_OPTIONS="${APT_OPTIONS:---yes}" APTITUDE_OPTIONS="${APTITUDE_OPTIONS:---assume-yes}" - BZIP2_OPTIONS="${BZIP2_OPTIONS:---best}" + BZIP2_OPTIONS="${BZIP2_OPTIONS:--6}" - GZIP_OPTIONS="${GZIP_OPTIONS:---best}" + GZIP_OPTIONS="${GZIP_OPTIONS:--6}" if gzip --help | grep -qs "\-\-rsyncable" then GZIP_OPTIONS="$(echo ${GZIP_OPTIONS} | sed -e 's|--rsyncable||') --rsyncable" fi - LZIP_OPTIONS="${LZIP_OPTIONS:---best}" + LZIP_OPTIONS="${LZIP_OPTIONS:--6}" - LZMA_OPTIONS="${LZMA_OPTIONS:---best}" + LZMA_OPTIONS="${LZMA_OPTIONS:--6}" # Setting apt recommends case "${LB_MODE}" in -- cgit v1.2.3