diff options
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_binary_syslinux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 94fae10..310b879 100755 --- a/helpers/lh_binary_syslinux +++ b/helpers/lh_binary_syslinux @@ -191,11 +191,11 @@ Copy_syslinux_templates () esac fi - if [ -d "${TEMPLATES}"/"${LH_LANGUAGE}" ] + if ls "${TEMPLATES}/${LH_LANGUAGE}"/* > /dev/null 2>&1 then cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* ${SCREEN_PATH} else - if [ -d "${TEMPLATES}"/en/* ] + if ls "${TEMPLATES}"/en/* > /dev/null 2>&1 then cp -r "${TEMPLATES}"/en/* ${SCREEN_PATH} fi |