diff --git a/src/install.sh b/src/install.sh index 9fa405a..5e9f7f3 100644 --- a/src/install.sh +++ b/src/install.sh @@ -73,6 +73,15 @@ startInstall() { : "${file//+/ }"; printf -v file '%b' "${_//%/\\x}" file=$(echo "$file" | sed -e 's/[^A-Za-z0-9._-]/_/g') + else + + local language + language=$(getLanguage "$LANGUAGE" "") + + if [ -n "$language" ] && [[ "$language" != "en" ]]; then + file="${VERSION/\//}.${language,,}.iso" + fi + fi BOOT="$STORAGE/$file"