mc: fix WORLD downloading

fixes #259
This commit is contained in:
Geoff Bourne 2018-10-17 23:17:32 -05:00
parent 73974d1c40
commit 7be2020879

View File

@ -3,7 +3,7 @@
worldDest=/data/$LEVEL
# If no world exists and a URL for a world is supplied, download it and unpack
if [[ "$WORLD" ]] && [! -d "$worldDest"]; then
if [[ "$WORLD" ]] && [ ! -d "$worldDest" ]; then
case "X$WORLD" in
X[Hh][Tt][Tt][Pp]*)
echo "Downloading world from $WORLD"