fix: Unbound variable (#77)

This commit is contained in:
Kroese 2024-01-22 23:31:35 +01:00 committed by GitHub
parent 3b8f80455f
commit c479b6a753
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -39,13 +39,6 @@ if [[ "${VERSION,,}" == "tiny11" ]]; then
VERSION="https://archive.org/download/tiny-11-core-x-64-beta-1/tiny11%20core%20x64%20beta%201.iso"
fi
if [ -z "$MANUAL" ]; then
MANUAL="N"
[[ "${BASE,,}" == "tiny10"* ]] && MANUAL="Y"
fi
CUSTOM="custom.iso"
[ ! -f "$STORAGE/$CUSTOM" ] && CUSTOM="Custom.iso"
@ -100,6 +93,13 @@ fi
html "$MSG"
TMP="$STORAGE/tmp"
if [ -z "$MANUAL" ]; then
MANUAL="N"
[[ "${BASE,,}" == "tiny10"* ]] && MANUAL="Y"
fi
if [ -f "$STORAGE/$BASE" ]; then
# Check if the ISO was already processed by our script