fix: Check ISO exists

This commit is contained in:
Kroese 2024-04-22 01:03:26 +02:00 committed by GitHub
parent ff4bd4da28
commit 1fbe146ead
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"