Update install.sh

This commit is contained in:
Kroese 2024-05-01 22:29:54 +02:00 committed by GitHub
parent 648d64869b
commit 865802e04b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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