summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh_binary_syslinux7
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 77ccc70..b2ad8ae 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -364,7 +364,12 @@ case "${LH_BINARY_IMAGES}" in
esac
cp -r "${TEMPLATES}"/common/* binary/isolinux
- cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* binary/isolinux
+ if [ -d "${TEMPLATES}"/"${LH_LANGUAGE}" ]
+ then
+ cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* binary/isolinux
+ else
+ cp -r "${TEMPLATES}"/en/* binary/isolinux
+ fi
for FILE in binary/isolinux/*.live
do