summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-03-12 19:00:50 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:43 +0100
commit8a3dd8cfe02db31b452a137c340ba2577f573330 (patch)
treec66af5125cb2f0945df2d348a2b48f4e1b950ce9 /helpers
parent336a46f22616845d6f4aeffc2d09e57bb7612552 (diff)
downloadlive-build-8a3dd8cfe02db31b452a137c340ba2577f573330.zip
live-build-8a3dd8cfe02db31b452a137c340ba2577f573330.tar.gz
Only trying to copy syslinux english templates if they are actually available.
Diffstat (limited to 'helpers')
-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