summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-09-24 18:17:48 -0300
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commitb9effa31a0f858eb0b97c07b3c5b8fea969ff532 (patch)
tree1c3772378068861303b69f87aaed839d56909e56
parentea8476d41a331e3f92114f702141b8c08cf9f8a3 (diff)
downloadlive-build-b9effa31a0f858eb0b97c07b3c5b8fea969ff532.zip
live-build-b9effa31a0f858eb0b97c07b3c5b8fea969ff532.tar.gz
syslinux: defaults to english text if we lack the specified language
-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