diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2007-10-09 13:04:56 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2007-10-09 13:04:56 -0300 |
commit | 883594ed649731db18a0121aad37bb08897f3361 (patch) | |
tree | 8a2fb4a15d123ec5eb40f37e3b556552f9f1a613 /helpers/lh_binary_syslinux | |
parent | 4d6271dddbb38da5e3032e19701e7c18afa0bbe0 (diff) | |
download | vyos-live-build-883594ed649731db18a0121aad37bb08897f3361.tar.gz vyos-live-build-883594ed649731db18a0121aad37bb08897f3361.zip |
syslinux: fix usb-hdd templates coping
Diffstat (limited to 'helpers/lh_binary_syslinux')
-rwxr-xr-x | helpers/lh_binary_syslinux | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 589c34862..8c6887fb2 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 |