Update install.sh

This commit is contained in:
Kroese 2024-01-26 22:03:52 +01:00 committed by GitHub
parent f2beb86ea7
commit beb60b01fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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