util-iso-yaml: fix syntax error

This commit is contained in:
udeved 2016-09-18 02:27:59 +02:00
parent 6f1ce4e691
commit 4c9f6b9d98

View file

@ -15,7 +15,7 @@ import ${LIBDIR}/util-iso-calamares.sh
check_yaml(){
msg2 "Checking validity [%s] ..." "${1##*/}"
local name=${1##*/} file
case ${name##*.}
case ${name##*.} in
yaml)
name=${name%.yaml}
file=$1