summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh_binary_syslinux5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index f5dea99..42eb1d5 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -195,7 +195,10 @@ Copy_syslinux_templates ()
then
cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* ${SCREEN_PATH}
else
- cp -r "${TEMPLATES}"/en/* ${SCREEN_PATH}
+ if [ -d "${TEMPLATES}"/en/* ]
+ then
+ cp -r "${TEMPLATES}"/en/* ${SCREEN_PATH}
+ fi
fi
for FILE in ${SCREEN_PATH}/*.live