summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_syslinux
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_syslinux')
-rwxr-xr-xhelpers/lh_binary_syslinux13
1 files changed, 7 insertions, 6 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 3f8cb4093..97363776f 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -47,12 +47,7 @@ Require_stagefile .stage/bootstrap
Check_stagefile .stage/binary_syslinux
# Checking syslinux templates
-if [ "${LH_SYSLINUX_MENU}" = "disabled" ]
-then
- Check_templates syslinux
-else
- Check_templates syslinux-menu
-fi
+Check_templates syslinux
# Checking lock file
Check_lockfile .lock
@@ -363,7 +358,13 @@ case "${LH_BINARY_IMAGES}" in
;;
esac
+ # Syslinux templates
cp -r "${TEMPLATES}"/common/* binary/isolinux
+ if [ "${LH_SYSLINUX_MENU}" != "disabled" ]
+ then
+ cp -r "${TEMPLATES}"/menu/* binary/isolinux
+ fi
+
if [ -d "${TEMPLATES}"/"${LH_LANGUAGE}" ]
then
cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* binary/isolinux