From 1d696b028acc5f6a2e2550b1098dc4e4b952ef8d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 10 Feb 2009 00:20:30 +0100 Subject: Only enabling win32-loader by default if we also include debian-installer. --- functions/defaults.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/functions/defaults.sh b/functions/defaults.sh index 2d633a8..dc2c5a1 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -697,7 +697,12 @@ Set_defaults () # Setting win32-loader option case "${LH_ARCHITECTURE}" in amd64|i386) - LH_WIN32_LOADER="${LH_WIN32_LOADER:-enabled}" + if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ] + then + LH_WIN32_LOADER="${LH_WIN32_LOADER:-enabled}" + else + LH_WIN32_LOADER="${LH_WIN32_LOADER:-disabled}" + fi ;; *) -- cgit v1.0