summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions/defaults.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 2d633a8d7..dc2c5a191 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
;;
*)