Really correcting bootstrap default logic to not overwrite the 'copy' method.

This commit is contained in:
Daniel Baumann 2009-02-08 13:25:44 +01:00
parent ef61a9d85f
commit 431a8208a3
1 changed files with 1 additions and 1 deletions

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}" ] || [ "${LH_BOOTSTRAP}" != "copy" ]
if [ -z "${LH_BOOTSTRAP}" ] || ( [ ! -x "${LH_BOOTSTRAP}" ] && [ "${LH_BOOTSTRAP}" != "copy" ] )
then
if [ -x "/usr/sbin/debootstrap" ]
then