fix: Custom flag

This commit is contained in:
Kroese 2024-01-22 00:36:37 +01:00 committed by GitHub
parent bacce6c979
commit 0af28312f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,7 +90,9 @@ CUSTOM="custom.iso"
[ ! -f "$STORAGE/$CUSTOM" ] && CUSTOM="CUSTOM.ISO"
[ ! -f "$STORAGE/$CUSTOM" ] && CUSTOM="CUSTOM.IMG"
if [ -f "$STORAGE/$CUSTOM" ]; then
if [ ! -f "$STORAGE/$CUSTOM" ]; then
CUSTOM=""
else
ISO="$STORAGE/$CUSTOM"
fi