From 1fbe146ead966f65d937093cca1f43eab40f974e Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 22 Apr 2024 01:03:26 +0200 Subject: [PATCH] fix: Check ISO exists --- src/install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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"