From e46839de5306c7d0738e9685c9b8f1c5dee21d33 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 6 Mar 2010 18:23:34 +0100 Subject: [PATCH] Setting debian-installer-gui default to false for squeeze and sid. --- functions/defaults.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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)