mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 03:45:48 +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..."
|
html "Starting Windows..."
|
||||||
|
|
||||||
|
[ -z "$MANUAL" ] && MANUAL="N"
|
||||||
|
|
||||||
|
if skipInstall; then
|
||||||
|
BASE=""
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f "$STORAGE/$CUSTOM" ]; then
|
if [ -f "$STORAGE/$CUSTOM" ]; then
|
||||||
|
|
||||||
EXTERNAL="Y"
|
EXTERNAL="Y"
|
||||||
|
|
@ -322,8 +329,6 @@ startInstall() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -z "$MANUAL" ] && MANUAL="N"
|
|
||||||
|
|
||||||
if [ -f "$STORAGE/$BASE" ]; then
|
if [ -f "$STORAGE/$BASE" ]; then
|
||||||
|
|
||||||
# Check if the ISO was already processed by our script
|
# Check if the ISO was already processed by our script
|
||||||
|
|
@ -342,13 +347,6 @@ startInstall() {
|
||||||
EXTERNAL="Y"
|
EXTERNAL="Y"
|
||||||
CUSTOM="$BASE"
|
CUSTOM="$BASE"
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
if skipInstall; then
|
|
||||||
BASE=""
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf "$TMP"
|
rm -rf "$TMP"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue