summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh7
1 files changed, 6 insertions, 1 deletions
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
;;
*)