From 114b3f1c10d87d7b7e43b3f1d440359dcdc463d7 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 5 May 2024 19:56:19 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/install.sh b/src/install.sh index bbb98f7..89e6f74 100644 --- a/src/install.sh +++ b/src/install.sh @@ -545,12 +545,7 @@ extractESD() { for (( imageIndex=4; imageIndex<=esdImageCount; imageIndex++ )); do imageEdition=$(wimlib-imagex info "${iso}" ${imageIndex} | grep '^Description:' | sed 's/Description:[ \t]*//') - error "$imageEdition" - done - - for (( imageIndex=4; imageIndex<=esdImageCount; imageIndex++ )); do - imageEdition=$(wimlib-imagex info "${iso}" ${imageIndex} | grep '^Description:' | sed 's/Description:[ \t]*//') - [[ "${imageEdition,,}" != *"${edition,,}"* ]] && continue + [[ "${imageEdition,,}" != "${edition,,}" ]] && continue wimlib-imagex export "${iso}" ${imageIndex} "${installWimFile}" --compress=LZMS --chunk-size 128K --quiet || { retVal=$? error "Addition of ${imageIndex} to the $desc image failed" && return $retVal