Aktualizovat „setup-mt“
install build-dep
This commit is contained in:
parent
8779d8a0d0
commit
eaec751aa4
1 changed files with 5 additions and 0 deletions
5
setup-mt
5
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
|
||||
|
|
Loading…
Reference in a new issue