From beb60b01fe88745985dfe04eadefa13d9482a263 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 26 Jan 2024 22:03:52 +0100 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 c2a2c05af..9887d0923 100644 --- a/src/install.sh +++ b/src/install.sh @@ -409,8 +409,8 @@ prepareImage() { local iso="$1" local dir="$2" - if [[ "${DETECTED,,}" != "win7x64"* ]] && [[ "${BOOT_MODE,,}" == "windows" ]]; then - if [[ "${DETECTED,,}" != "winvistax64"* ]] && [[ "${DETECTED,,}" != "winxpx64"* ]]; then + if [[ "${BOOT_MODE,,}" == "windows" ]]; then + if [[ "${DETECTED,,}" != "win7x64"* ]] && [[ "${DETECTED,,}" != "winvistax64"* ]]; then if [ -f "$dir/$ETFS" ] && [ -f "$dir/$EFISYS" ]; then return 0