Update install.sh

This commit is contained in:
Kroese 2024-01-29 08:51:04 +01:00 committed by GitHub
parent 5af4c1f66d
commit 0a4b551317
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -508,7 +508,7 @@ prepareImage() {
local iso="$1"
local dir="$2"
if [[ "${BOOT_MODE,,}" == "windows" ]]; then
if [[ "${BOOT_MODE,,}" == "windows" ]] && [[ "${DETECTED,,}" != "win2008"* ]]; then
if [[ "${DETECTED,,}" != "win7x64"* ]] && [[ "${DETECTED,,}" != "winvistax64"* ]]; then
if [ -f "$dir/$ETFS" ] && [ -f "$dir/$EFISYS" ]; then