summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
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