mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
Update install.sh
This commit is contained in:
parent
648d64869b
commit
865802e04b
1 changed files with 2 additions and 2 deletions
|
|
@ -541,7 +541,7 @@ extractImage() {
|
|||
return 0
|
||||
}
|
||||
|
||||
parseVersion() {
|
||||
detectVersion() {
|
||||
local xml="$1"
|
||||
local name name2 name3
|
||||
|
||||
|
|
@ -635,7 +635,7 @@ detectImage() {
|
|||
|
||||
result=$(wimlib-imagex info -xml "$loc" | tr -d '\000')
|
||||
|
||||
if ! parseVersion "$result"; then
|
||||
if ! detectVersion "$result"; then
|
||||
warn "failed to determine Windows version from image, $FB"
|
||||
return 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue