From 7bfb06e25a566a8bce44ce2f544057d496f75089 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 9 Oct 2007 13:04:56 -0300 Subject: syslinux: fix usb-hdd templates coping --- helpers/lh_binary_syslinux | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 589c348..8c6887f 100755 --- a/helpers/lh_binary_syslinux +++ b/helpers/lh_binary_syslinux @@ -603,6 +603,12 @@ case "${LH_BINARY_IMAGES}" in esac cp -r "${TEMPLATES}"/common/* "${DESTDIR}" + if [ "${LH_SYSLINUX_MENU}" = "disabled" ] + then + cp -r "${TEMPLATES}"/normal/* "${DESTDIR}" + else + cp -r "${TEMPLATES}"/menu/* "${DESTDIR}" + fi cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* "${DESTDIR}" for FILE in "${DESTDIR}"/*.live -- cgit v1.0