summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-08 12:58:11 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:42 +0100
commitef61a9d85f04625a4c15c4089c80205b9f8a8ddd (patch)
tree2fde6538b181e0b6cfcf453593003085a1cd6007 /functions
parent0d6c473eab7e625b7cccd4bf084d294ae822962f (diff)
downloadlive-build-ef61a9d85f04625a4c15c4089c80205b9f8a8ddd.zip
live-build-ef61a9d85f04625a4c15c4089c80205b9f8a8ddd.tar.gz
Correcting bootstrap default logic to not overwrite the 'copy' method.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 94d074c..f686b73 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -85,7 +85,7 @@ Set_defaults ()
LH_APT_SECURE="${LH_APT_SECURE:-enabled}"
# Setting bootstrap program
- if [ -z "${LH_BOOTSTRAP}" ] || [ ! -x "${LH_BOOTSTRAP}" ]
+ if [ -z "${LH_BOOTSTRAP}" ] || [ ! -x "${LH_BOOTSTRAP}" ] || [ "${LH_BOOTSTRAP}" != "copy" ]
then
if [ -x "/usr/sbin/debootstrap" ]
then