summaryrefslogtreecommitdiff
path: root/functions
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 /functions
parent17c5ed64b269b2bff7f30448699266c69885a3d2 (diff)
downloadvyos-live-build-314a1439d82fd89b40bca007c4be20dbeb1fcb01.tar.gz
vyos-live-build-314a1439d82fd89b40bca007c4be20dbeb1fcb01.zip
Setting debian-installer-gui default to false for squeeze and sid.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh10
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)