diff --git a/src/install.sh b/src/install.sh index 403ee30..d09af88 100644 --- a/src/install.sh +++ b/src/install.sh @@ -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"