From 27f7d92862403d15f47b1d59b252ebdc073a574f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 18 Jul 2012 19:45:14 +0200 Subject: Using xz to compress images on anything except squeeze, keeping gzip as default for squeeze. --- functions/defaults.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/functions/defaults.sh b/functions/defaults.sh index 33621da77..eaaf822de 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -941,7 +941,15 @@ Set_defaults () ;; *) - LB_COMPRESSION="${LB_COMPRESSION:-gzip}" + case "${LB_DISTRIBUTION}" in + squeeze) + LB_COMPRESSION="${LB_COMPRESSION:-gzip}" + ;; + + *) + LB_COMPRESSION="${LB_COMPRESSION:-xz}" + ;; + esac ;; esac -- cgit v1.2.3