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>2010-03-06 18:23:34 +0100
commite46839de5306c7d0738e9685c9b8f1c5dee21d33 (patch)
treeddc92b7b9b56ee999b9f8eb5faa33dfd5958d161 /functions
parentf8ca191ca21579d3338bf53e2c1fd92acd084353 (diff)
downloadvyos-live-build-e46839de5306c7d0738e9685c9b8f1c5dee21d33.tar.gz
vyos-live-build-e46839de5306c7d0738e9685c9b8f1c5dee21d33.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)