Subject: Install loop-aes-utils if we are using encryption.

From: Chris Lamb <[email-masked]>
Date: Wed, 20 Aug 2008 10:17:38 +0100

---
 functions/defaults.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/functions/defaults.sh b/functions/defaults.sh
index 3a3b423..9c4d2d3 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -437,6 +437,10 @@ Set_defaults ()
 
 	# Setting packages string
 	# LH_PACKAGES
+	if [ -z "${LH_PACKAGES}" ] && [ "${LH_ENCRYPTION}" != "disabled" ]
+	then
+		LH_PACKAGES="loop-aes-utils"
+	fi
 
 	# Setting packages list string
 	LH_PACKAGES_LISTS="${LH_PACKAGES_LISTS:-standard}"
-- 
cgit v1.0