Update install.sh

This commit is contained in:
Kroese 2024-02-01 13:26:03 +01:00 committed by GitHub
parent 214a9f9f6f
commit 2afe1ab14d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -490,13 +490,13 @@ detectImage() {
[ ! -f "$loc" ] && loc="$dir/sources/install.esd"
if [ ! -f "$loc" ]; then
if [ -f "$dir/WIN51" ] || [ -f "$dir/SETUPXP.HTM" ]; then
DETECTED="winxpx86"
info "Detected: Windows XP"
return 0
fi
warn "failed to locate 'install.wim' or 'install.esd' in ISO image, $FB"
BOOT_MODE="windows_legacy"
return 1