mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
Update install.sh
This commit is contained in:
parent
64d38f39ab
commit
0f3fea48f7
1 changed files with 4 additions and 4 deletions
|
|
@ -662,7 +662,7 @@ prepareXP() {
|
|||
return 0
|
||||
}
|
||||
|
||||
prepareWin7() {
|
||||
prepareLegacy() {
|
||||
|
||||
local iso="$1"
|
||||
local dir="$2"
|
||||
|
|
@ -705,14 +705,14 @@ prepareImage() {
|
|||
fi
|
||||
fi
|
||||
|
||||
if [[ "${DETECTED,,}" == "winxpx86"* ]]; then
|
||||
if [[ "${DETECTED,,}" == "winxp"* ]]; then
|
||||
if ! prepareXP "$iso" "$dir"; then
|
||||
error "Failed to prepare Windows XP ISO!"
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
if ! prepareWin7 "$iso" "$dir"; then
|
||||
error "Failed to prepare Windows 7 ISO!"
|
||||
if ! prepareLegacy "$iso" "$dir"; then
|
||||
error "Failed to prepare Windows ISO!"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue