summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions/defaults.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 06e1478..680e57c 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -571,7 +571,11 @@ Set_defaults ()
if [ "${LH_CHROOT_FILESYSTEM}" = "squashfs" ]
then
- LH_LINUX_PACKAGES="${LH_LINUX_PACKAGES} squashfs-modules-2.6"
+ case "${LH_DISTRIBUTION}" in
+ etch|lenny|squeeze)
+ LH_LINUX_PACKAGES="${LH_LINUX_PACKAGES} squashfs-modules-2.6"
+ ;;
+ esac
fi
case "${LH_ENCRYPTION}" in