diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2007-09-24 18:17:48 -0300 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:27 +0100 |
commit | b9effa31a0f858eb0b97c07b3c5b8fea969ff532 (patch) | |
tree | 1c3772378068861303b69f87aaed839d56909e56 /helpers/lh_binary_syslinux | |
parent | ea8476d41a331e3f92114f702141b8c08cf9f8a3 (diff) | |
download | vyos-live-build-b9effa31a0f858eb0b97c07b3c5b8fea969ff532.tar.gz vyos-live-build-b9effa31a0f858eb0b97c07b3c5b8fea969ff532.zip |
syslinux: defaults to english text if we lack the specified language
Diffstat (limited to 'helpers/lh_binary_syslinux')
-rwxr-xr-x | helpers/lh_binary_syslinux | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 77ccc70b8..b2ad8aefa 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 |