mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 04:05:50 +00:00
Update install.sh
This commit is contained in:
parent
98204e54ef
commit
99eced85d9
1 changed files with 4 additions and 4 deletions
|
|
@ -65,7 +65,7 @@ startInstall() {
|
||||||
|
|
||||||
if [ -z "$CUSTOM" ]; then
|
if [ -z "$CUSTOM" ]; then
|
||||||
|
|
||||||
local file="${VERSION/\//}.iso"
|
local file="${VERSION//\//}.iso"
|
||||||
|
|
||||||
if [[ "${VERSION,,}" == "http"* ]]; then
|
if [[ "${VERSION,,}" == "http"* ]]; then
|
||||||
|
|
||||||
|
|
@ -80,7 +80,7 @@ startInstall() {
|
||||||
language="${language%%-*}"
|
language="${language%%-*}"
|
||||||
|
|
||||||
if [ -n "$language" ] && [[ "${language,,}" != "en" ]]; then
|
if [ -n "$language" ] && [[ "${language,,}" != "en" ]]; then
|
||||||
file="${VERSION/\//}_${language,,}.iso"
|
file="${VERSION//\//}_${language,,}.iso"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
@ -675,8 +675,8 @@ updateImage() {
|
||||||
local asset="$2"
|
local asset="$2"
|
||||||
local language="$3"
|
local language="$3"
|
||||||
local file="autounattend.xml"
|
local file="autounattend.xml"
|
||||||
local org="${file/.xml/.org}"
|
local org="${file//.xml/.org}"
|
||||||
local dat="${file/.xml/.dat}"
|
local dat="${file//.xml/.dat}"
|
||||||
local desc path src loc xml index result
|
local desc path src loc xml index result
|
||||||
|
|
||||||
[[ "${DETECTED,,}" == "winxp"* ]] && return 0
|
[[ "${DETECTED,,}" == "winxp"* ]] && return 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue