From ffa28eec4b065675b2142c2c1622b564bf9d322f Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 5 Aug 2026 13:30:38 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/install.sh b/src/install.sh index 79074146..c8f108d1 100644 --- a/src/install.sh +++ b/src/install.sh @@ -338,12 +338,14 @@ skipUnattended() { # Standalone ESD files and nested archives are not directly bootable media, # so they cannot use the manual-install fallback. - [[ "${iso,,}" == *".esd" ]] && exit 60 - enabled "${UNPACK:-}" && exit 60 + if enabled "${UNPACK:-}" || [[ "${iso,,}" == *".esd" ]]; then + error "Failed to boot $iso because of its file rxtrnsion" + exit 60 + fi # When automatic preparation fails, inspect extracted media to determine # whether it can still be booted manually using legacy firmware. - if [[ "${PLATFORM,,}" == "x64" ]] && [ -d "$dir" ]; then + if enabled "$aborted" && [[ "${PLATFORM,,}" == "x64" ]] && [ -d "$dir" ]; then efi=$(find "$dir" -maxdepth 1 -type d -iname efi -print -quit) || return 1 efi32=$(find "$dir" -maxdepth 3 -type f -ipath '*/efi/boot/bootia32.efi' -print -quit) || return 1