diff --git a/src/install.sh b/src/install.sh index d09af88..efff583 100644 --- a/src/install.sh +++ b/src/install.sh @@ -296,11 +296,6 @@ startInstall() { [ -z "$MANUAL" ] && MANUAL="N" - if skipInstall; then - BASE="" - return 1 - fi - if [ -f "$STORAGE/$CUSTOM" ]; then EXTERNAL="Y" @@ -349,6 +344,11 @@ startInstall() { fi + if skipInstall; then + [ ! -f "$STORAGE/$BASE" ] && BASE="" + return 1 + fi + rm -rf "$TMP" mkdir -p "$TMP"