From 175596361d34f117e82199dee07cc944b08e7dd6 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 17 May 2024 20:28:36 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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"