From bede4214a93599abc7b6f23972d312cc78aa00e8 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 22 Apr 2024 16:34:15 +0200 Subject: [PATCH] fix: Sync order with ARM code --- src/install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/install.sh b/src/install.sh index 1065d75..ee94c2a 100644 --- a/src/install.sh +++ b/src/install.sh @@ -344,6 +344,11 @@ startInstall() { fi fi + if skipInstall; then + [ ! -f "$STORAGE/$BASE" ] && BASE="" + return 1 + fi + if [ -f "$STORAGE/$BASE" ]; then # Check if the ISO was already processed by our script @@ -364,11 +369,6 @@ startInstall() { fi - if skipInstall; then - [ ! -f "$STORAGE/$BASE" ] && BASE="" - return 1 - fi - rm -rf "$TMP" mkdir -p "$TMP"