Update install.sh

This commit is contained in:
Kroese
2026-07-28 15:54:15 +02:00
committed by GitHub
parent 407af5b9d0
commit b94bb0abd2
+8 -10
View File
@@ -650,6 +650,11 @@ extractImage() {
local desc="local ISO"
local file size
if enabled "${ISO_TEST:-}" && ! enabled "${UNPACK:-}"; then
extractModernImage "$iso" "$dir" "$version"
return $?
fi
if [ -z "$CUSTOM" ]; then
desc="downloaded ISO"
if [[ "$version" != "http"* ]]; then
@@ -1376,16 +1381,9 @@ fi
DIR="$TMP/unpack"
if enabled "${ISO_TEST:-}"; then
if ! extractModernImage "$ISO" "$DIR" "$VERSION"; then
rm -f "$ISO" 2> /dev/null || true
exit 62
fi
else
if ! extractImage "$ISO" "$DIR" "$VERSION"; then
rm -f "$ISO" 2> /dev/null || true
exit 62
fi
if ! extractImage "$ISO" "$DIR" "$VERSION"; then
rm -f "$ISO" 2> /dev/null || true
exit 62
fi
if ! detectImage "$DIR" "$VERSION"; then