From 11d6e3434c37df8f9173d3086d604259274b5f62 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Mon, 11 May 2020 12:49:59 -0400 Subject: [PATCH] Make the EM_TMP dir if it doesn't exist. --- install-mts.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-mts.sh b/install-mts.sh index f27d067..4206f18 100755 --- a/install-mts.sh +++ b/install-mts.sh @@ -244,6 +244,8 @@ tmp_mt_copy=$EM_TMP/minetest if [ -d "$tmp_mt_copy" ]; then echo "* removing old $tmp_mt_copy..." rm -Rf "$tmp_mt_copy" || customExit "rm -Rf \"$tmp_mt_copy\" failed." +elif [ ! -d "$EM_TMP" ]; then + mkdir -p "$EM_TMP" || customExit "mkdir -p \"$EM_TMP\" failed." fi old_release_line= old_release_version=