Correct logic in LH_BOOTAPPEND_INSTALL handling
(LH_BOOTAPPEND_INSTALL was being overridden if a preseed.cfg was found.)
This commit is contained in:
parent
0a5065a817
commit
e11175ed2c
|
@ -578,12 +578,15 @@ Set_defaults ()
|
|||
esac
|
||||
fi
|
||||
|
||||
if [ -z "${LH_BOOTAPPEND_INSTALL}" ] && [ -n ${_LH_BOOTAPPEND_PRESEED} ]
|
||||
if [ -z "${LH_BOOTAPPEND_INSTALL}" ]
|
||||
then
|
||||
if [ -n ${_LH_BOOTAPPEND_PRESEED} ]
|
||||
then
|
||||
LH_BOOTAPPEND_INSTALL="${_LH_BOOTAPPEND_PRESEED} -- \${LH_BOOTAPPEND_LIVE}"
|
||||
else
|
||||
LH_BOOTAPPEND_INSTALL=" -- \${LH_BOOTAPPEND_LIVE}"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Setting encryption
|
||||
LH_ENCRYPTION="${LH_ENCRYPTION:-disabled}"
|
||||
|
|
Loading…
Reference in New Issue