mirror of
https://github.com/dockur/windows.git
synced 2024-11-25 08:05:42 +00:00
fix: Unbound variable (#77)
This commit is contained in:
parent
3b8f80455f
commit
c479b6a753
@ -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"
|
VERSION="https://archive.org/download/tiny-11-core-x-64-beta-1/tiny11%20core%20x64%20beta%201.iso"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$MANUAL" ]; then
|
|
||||||
|
|
||||||
MANUAL="N"
|
|
||||||
[[ "${BASE,,}" == "tiny10"* ]] && MANUAL="Y"
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
CUSTOM="custom.iso"
|
CUSTOM="custom.iso"
|
||||||
|
|
||||||
[ ! -f "$STORAGE/$CUSTOM" ] && CUSTOM="Custom.iso"
|
[ ! -f "$STORAGE/$CUSTOM" ] && CUSTOM="Custom.iso"
|
||||||
@ -100,6 +93,13 @@ fi
|
|||||||
html "$MSG"
|
html "$MSG"
|
||||||
TMP="$STORAGE/tmp"
|
TMP="$STORAGE/tmp"
|
||||||
|
|
||||||
|
if [ -z "$MANUAL" ]; then
|
||||||
|
|
||||||
|
MANUAL="N"
|
||||||
|
[[ "${BASE,,}" == "tiny10"* ]] && MANUAL="Y"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f "$STORAGE/$BASE" ]; then
|
if [ -f "$STORAGE/$BASE" ]; then
|
||||||
|
|
||||||
# Check if the ISO was already processed by our script
|
# Check if the ISO was already processed by our script
|
||||||
|
Loading…
Reference in New Issue
Block a user