diff options
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index cd6e494a2..2240b8f2d 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -804,7 +804,15 @@ Set_defaults () # Setting debian-installer-gui case "${LH_MODE}" in debian) - LH_DEBIAN_INSTALLER_GUI="${LH_DEBIAN_INSTALLER_GUI:-true}" + case "${LH_DISTRIBUTION}" in + squeeze|sid) + LH_DEBIAN_INSTALLER_GUI="${LH_DEBIAN_INSTALLER_GUI:-false}" + ;; + + *) + LH_DEBIAN_INSTALLER_GUI="${LH_DEBIAN_INSTALLER_GUI:-true}" + ;; + esac ;; ubuntu) |