aboutsummaryrefslogtreecommitdiffstats
path: root/main/minetest/minetest-server.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-12-30 10:02:39 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-30 10:35:07 +0100
commit1e340f85df7db29ca1db6bf1350bf046c5023fbb (patch)
tree91d26492588ccb01f26d09237717d6593124c1b5 /main/minetest/minetest-server.pre-install
parente36d9c05404d489f0ae12e62568553216a925f5f (diff)
downloadaports-1e340f85df7db29ca1db6bf1350bf046c5023fbb.tar.bz2
aports-1e340f85df7db29ca1db6bf1350bf046c5023fbb.tar.xz
main/minetest: various fixes
- fix segfault due to JIT and PaX. Use shared lua instead of luajit - clean up init.d script. rename to minitest-server - use shared irrlicht - move pre-install script to -server subpackage - start with gameid 'minimal' by default for testing
Diffstat (limited to 'main/minetest/minetest-server.pre-install')
-rw-r--r--main/minetest/minetest-server.pre-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/minetest/minetest-server.pre-install b/main/minetest/minetest-server.pre-install
new file mode 100644
index 0000000000..f995e427d6
--- /dev/null
+++ b/main/minetest/minetest-server.pre-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+adduser -s /sbin/nologin -D -h /var/lib/minetest minetest games 2>/dev/null
+exit 0