acct-user/minetest: Add home directory

Minetest requires a home directory to store user data. This patch adds
/var/lib/minetest as the default home directory for the minetest user.

Bug: https://bugs.gentoo.org/709530
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14890
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
William Breathitt Gray
2020-03-08 21:03:38 -04:00
committed by Joonas Niilola
parent a9a4d352bb
commit 81b2e9fc93

View File

@@ -0,0 +1,14 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-user
DESCRIPTION="A user for the Minetest server"
ACCT_USER_GROUPS=( "minetest" )
ACCT_USER_ID="480"
ACCT_USER_HOME="/var/lib/minetest"
acct-user_add_deps