From eaec751aa47fad16978da1bfd1b75c5cfe5c2c73 Mon Sep 17 00:00:00 2001 From: Milan Meduna Date: Sun, 25 Oct 2020 09:11:48 +0100 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Esetup-mt=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit install build-dep --- setup-mt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup-mt b/setup-mt index 9f0408c8..04d4b6f4 100755 --- a/setup-mt +++ b/setup-mt @@ -6,6 +6,11 @@ echo "Create minetest user" adduser minetest mkdir -p /home/minetest/.minetest +echo "Allow sources repo and install dependecies for build" +perl -pi.orig -0e 's/^(deb .*\n)# (deb-src)/$1$2/mg' /etc/apt/sources.list +apt update +apt-get build-dep minetest -y + echo "Compile libspatialindex" rm -rf /tmp/spatialindex git clone https://github.com/libspatialindex/libspatialindex /tmp/spatialindex