Correcting wrong logic in defaults.sh which resultet in having loop-aes-utils always installed.

This commit is contained in:
Daniel Baumann 2009-02-01 11:51:51 +01:00
parent 285b6ed834
commit 68d4026b09

View File

@ -476,10 +476,17 @@ Set_defaults ()
# Setting packages string
# LH_PACKAGES
if [ -z "${LH_PACKAGES}" ] && [ "${LH_ENCRYPTION}" != "disabled" ]
then
LH_PACKAGES="loop-aes-utils"
fi
case "${LH_ENCRYPTION}" in
""|disabled)
;;
*)
if ! In_list loop-aes-utils "${LH_PACKAGES}"
then
LH_PACKAGES="${LH_PACKAGES} loop-aes-utils"
fi
;;
esac
# Setting packages list string
LH_PACKAGES_LISTS="${LH_PACKAGES_LISTS:-standard}"