syslinux: fix usb-hdd templates coping

This commit is contained in:
Otavio Salvador 2007-10-09 13:04:56 -03:00
parent 4d6271dddb
commit 883594ed64
1 changed files with 6 additions and 0 deletions

View File

@ -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