Only trying to copy syslinux english templates if they are actually available.

This commit is contained in:
Daniel Baumann 2009-03-12 19:00:50 +01:00
parent 336a46f226
commit 8a3dd8cfe0
1 changed files with 4 additions and 1 deletions

View File

@ -195,8 +195,11 @@ Copy_syslinux_templates ()
then
cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* ${SCREEN_PATH}
else
if [ -d "${TEMPLATES}"/en/* ]
then
cp -r "${TEMPLATES}"/en/* ${SCREEN_PATH}
fi
fi
for FILE in ${SCREEN_PATH}/*.live
do