bootstrap: adds support to debootstrap 1.0.7
New debootstrap has change the scripts to /usr/share since they're architecture independent code. The support for it has been added however it fallback to /usr/lib to keep backward compatibility.
This commit is contained in:
parent
bc23f61130
commit
ffa2568b55
|
@ -69,7 +69,12 @@ fi
|
|||
|
||||
if [ -n "${LH_BOOTSTRAP_CONFIG}" ]
|
||||
then
|
||||
if [ -d "/usr/share/debootstrap/scripts/" ]
|
||||
then
|
||||
LH_DEBOOTSTRAP_SCRIPT="/usr/share/debootstrap/scripts/${LH_BOOTSTRAP_CONFIG}"
|
||||
else
|
||||
LH_DEBOOTSTRAP_SCRIPT="/usr/lib/debootstrap/scripts/${LH_BOOTSTRAP_CONFIG}"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "${LH_BOOTSTRAP_INCLUDE}" ]
|
||||
|
|
Loading…
Reference in New Issue