From 865802e04b3916a4f4e8788391ca1c1f685d72c9 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 1 May 2024 22:29:54 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index 825ac8a..25439ed 100644 --- a/src/install.sh +++ b/src/install.sh @@ -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