syslinux: defaults to english text if we lack the specified language

This commit is contained in:
Otavio Salvador 2007-09-24 18:17:48 -03:00 committed by Daniel Baumann
parent 4be7194a18
commit 52ab1c4b26
1 changed files with 6 additions and 1 deletions

View File

@ -364,7 +364,12 @@ case "${LH_BINARY_IMAGES}" in
esac
cp -r "${TEMPLATES}"/common/* 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