diff options
-rwxr-xr-x | helpers/lh_binary_syslinux | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 5e5009ac2..d69b8a0df 100755 --- a/helpers/lh_binary_syslinux +++ b/helpers/lh_binary_syslinux @@ -294,7 +294,10 @@ Configure_syslinux_templates () $template_file done - sed -i -e 's/isolinux.cfg/syslinux.cfg/' ${SYSLINUX_PATH}/exithelp.cfg + if [ -f "${SYSLINUX_PATH}/exithelp.cfg" ] + then + sed -i -e 's/isolinux.cfg/syslinux.cfg/' ${SYSLINUX_PATH}/exithelp.cfg + fi # Syslinux v3.31 in etch does not support include statements if [ "${LH_DISTRIBUTION}" = "etch" ] |