From 8ff3bbcbc0ceef1163088da2e818fceb00bb6ac8 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Wed, 26 Jun 2019 07:56:38 -0400 Subject: [PATCH] improve detection of whether compiled --- webapp/install-mts.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webapp/install-mts.sh b/webapp/install-mts.sh index 40a70e8..7a2e8ff 100755 --- a/webapp/install-mts.sh +++ b/webapp/install-mts.sh @@ -95,6 +95,10 @@ if [ -d minetest ]; then echo "* enabling compile (since no `pwd`/minetest/bin/minetest but client install is enabled)" fi fi + if [ ! -f minetest/bin/minetestserver ]; then + enable_compile=true + echo "* enabling compile (since no `pwd`/minetest/bin/minetestserver)" + fi else echo "* enabling compile since missing `pwd`/minetest directory" fi