mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 04:05: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() {
|
parseVersion() {
|
||||||
|
|
||||||
VERSION="${VERSION//\//}"
|
|
||||||
|
|
||||||
if [[ "${VERSION}" == \"*\" || "${VERSION}" == \'*\' ]]; then
|
if [[ "${VERSION}" == \"*\" || "${VERSION}" == \'*\' ]]; then
|
||||||
VERSION="${VERSION:1:-1}"
|
VERSION="${VERSION:1:-1}"
|
||||||
fi
|
fi
|
||||||
|
|
@ -295,9 +293,9 @@ getLanguage() {
|
||||||
|
|
||||||
parseLanguage() {
|
parseLanguage() {
|
||||||
|
|
||||||
REGION="${REGION/_/-/}"
|
REGION="${REGION//_/-/}"
|
||||||
KEYBOARD="${KEYBOARD/_/-/}"
|
KEYBOARD="${KEYBOARD//_/-/}"
|
||||||
LANGUAGE="${LANGUAGE/_/-/}"
|
LANGUAGE="${LANGUAGE//_/-/}"
|
||||||
|
|
||||||
[ -z "$LANGUAGE" ] && LANGUAGE="en"
|
[ -z "$LANGUAGE" ] && LANGUAGE="en"
|
||||||
|
|
||||||
|
|
@ -455,7 +453,7 @@ fromFile() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "${file/ /_}" in
|
case "${file// /_}" in
|
||||||
"win7"* | "win_7"* | *"windows7"* | *"windows_7"* )
|
"win7"* | "win_7"* | *"windows7"* | *"windows_7"* )
|
||||||
id="win7${arch}"
|
id="win7${arch}"
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue