Update define.sh

This commit is contained in:
Kroese 2024-05-19 13:11:21 +02:00 committed by GitHub
parent 30198c9e0c
commit 29804d61ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1901,13 +1901,15 @@ migrateFiles() {
return 0
}
configXP() {
prepareXP() {
local dir="$1"
local dir="$2"
local arch="x86"
local target="$dir/I386"
local drivers="$TMP/drivers"
ETFS="[BOOT]/Boot-NoEmul.img"
if [ -d "$dir/AMD64" ]; then
arch="amd64"
target="$dir/AMD64"
@ -2103,19 +2105,6 @@ configXP() {
return 0
}
prepareXP() {
local iso="$1"
local dir="$2"
ETFS="[BOOT]/Boot-NoEmul.img"
[[ "$MANUAL" == [Yy1]* ]] && return 0
configXP "$dir" && return 0
return 1
}
prepareLegacy() {
local iso="$1"