summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-10-31 10:55:37 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:28 +0100
commitb7b7cd4c8193041eff058eaa2bf39c5a8bf32458 (patch)
tree89f6996bf7f6a695b90bc5a4d209404f08ff5363 /functions
parentba5145202721b8b77f02451f307adb7e10d83583 (diff)
downloadlive-build-b7b7cd4c8193041eff058eaa2bf39c5a8bf32458.zip
live-build-b7b7cd4c8193041eff058eaa2bf39c5a8bf32458.tar.gz
Setting LH_BOOTSTRAP_FLAVOUR only when using cdebootstrap.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 8a876f0..30e4062 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -226,7 +226,11 @@ Set_defaults ()
# LH_BOOTSTRAP_CONFIG
# Setting flavour value
- LH_BOOTSTRAP_FLAVOUR="${LH_BOOTSTRAP_FLAVOUR:-standard}"
+ case "${LH_BOOTSTRAP}" in
+ cdebootstrap)
+ LH_BOOTSTRAP_FLAVOUR="${LH_BOOTSTRAP_FLAVOUR:-standard}"
+ ;;
+ esac
# Setting boostrap keyring
# LH_BOOTSTRAP_KEYRING