summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-03-06 18:23:34 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:04 +0100
commit314a1439d82fd89b40bca007c4be20dbeb1fcb01 (patch)
treeddc92b7b9b56ee999b9f8eb5faa33dfd5958d161
parent17c5ed64b269b2bff7f30448699266c69885a3d2 (diff)
downloadlive-build-314a1439d82fd89b40bca007c4be20dbeb1fcb01.zip
live-build-314a1439d82fd89b40bca007c4be20dbeb1fcb01.tar.gz
Setting debian-installer-gui default to false for squeeze and sid.
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index cd6e494..2240b8f 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)