mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 12:15:50 +00:00
Update define.sh
This commit is contained in:
parent
d8c12bdfa0
commit
ebbe77cb6d
1 changed files with 4 additions and 6 deletions
|
|
@ -17,8 +17,6 @@ PLATFORM="x64"
|
|||
|
||||
parseVersion() {
|
||||
|
||||
VERSION="${VERSION//\//}"
|
||||
|
||||
if [[ "${VERSION}" == \"*\" || "${VERSION}" == \'*\' ]]; then
|
||||
VERSION="${VERSION:1:-1}"
|
||||
fi
|
||||
|
|
@ -295,9 +293,9 @@ getLanguage() {
|
|||
|
||||
parseLanguage() {
|
||||
|
||||
REGION="${REGION/_/-/}"
|
||||
KEYBOARD="${KEYBOARD/_/-/}"
|
||||
LANGUAGE="${LANGUAGE/_/-/}"
|
||||
REGION="${REGION//_/-/}"
|
||||
KEYBOARD="${KEYBOARD//_/-/}"
|
||||
LANGUAGE="${LANGUAGE//_/-/}"
|
||||
|
||||
[ -z "$LANGUAGE" ] && LANGUAGE="en"
|
||||
|
||||
|
|
@ -455,7 +453,7 @@ fromFile() {
|
|||
;;
|
||||
esac
|
||||
|
||||
case "${file/ /_}" in
|
||||
case "${file// /_}" in
|
||||
"win7"* | "win_7"* | *"windows7"* | *"windows_7"* )
|
||||
id="win7${arch}"
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue