From 52ab1c4b26719fff822cf72a7388e7abdcd23a07 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 24 Sep 2007 18:17:48 -0300 Subject: [PATCH] syslinux: defaults to english text if we lack the specified language --- helpers/lh_binary_syslinux | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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