mirror of
https://github.com/dockur/windows.git
synced 2025-10-30 04:35:49 +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//+/ }"; printf -v file '%b' "${_//%/\\x}"
|
||||||
file=$(echo "$file" | sed -e 's/[^A-Za-z0-9._-]/_/g')
|
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
|
fi
|
||||||
|
|
||||||
BOOT="$STORAGE/$file"
|
BOOT="$STORAGE/$file"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue