mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
fix: Skip install when .boot file exists
This commit is contained in:
parent
dc2993c488
commit
ff4bd4da28
1 changed files with 7 additions and 9 deletions
|
|
@ -294,6 +294,13 @@ startInstall() {
|
|||
|
||||
html "Starting Windows..."
|
||||
|
||||
[ -z "$MANUAL" ] && MANUAL="N"
|
||||
|
||||
if skipInstall; then
|
||||
BASE=""
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [ -f "$STORAGE/$CUSTOM" ]; then
|
||||
|
||||
EXTERNAL="Y"
|
||||
|
|
@ -322,8 +329,6 @@ startInstall() {
|
|||
fi
|
||||
fi
|
||||
|
||||
[ -z "$MANUAL" ] && MANUAL="N"
|
||||
|
||||
if [ -f "$STORAGE/$BASE" ]; then
|
||||
|
||||
# Check if the ISO was already processed by our script
|
||||
|
|
@ -342,13 +347,6 @@ startInstall() {
|
|||
EXTERNAL="Y"
|
||||
CUSTOM="$BASE"
|
||||
|
||||
else
|
||||
|
||||
if skipInstall; then
|
||||
BASE=""
|
||||
return 1
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
rm -rf "$TMP"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue