Only automatically do replacements within syslinux configs when they are not directories (as they can be in the pxelinux.cfg case), thanks to Antony Messerli <amesserl@rackspace.com> (Closes: #745760).
This commit is contained in:
parent
145418141e
commit
7a52186c1b
|
@ -253,7 +253,7 @@ esac
|
|||
|
||||
for _FILE in "${_TARGET}"/*.cfg ${_TARGET}/*.svg
|
||||
do
|
||||
if [ -e "${_FILE}" ]
|
||||
if [ -e "${_FILE}" ] && [ ! -d "${_FILE}" ]
|
||||
then
|
||||
sed -i -e "s#@APPEND_LIVE@#${LB_BOOTAPPEND_LIVE}#g" \
|
||||
-e "s#@APPEND_LIVE_FAILSAFE@#${LB_BOOTAPPEND_LIVE_FAILSAFE}#g" \
|
||||
|
|
Loading…
Reference in New Issue