mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 12:15:50 +00:00
Update install.sh
This commit is contained in:
parent
acd3ccec4c
commit
175596361d
1 changed files with 9 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue