Correcting bootstrap default logic to not overwrite the 'copy' method.

This commit is contained in:
Daniel Baumann 2009-02-08 12:58:11 +01:00
parent 0d6c473eab
commit ef61a9d85f

View File

@ -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