summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-09-26 21:33:04 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-09-26 21:36:10 +0200
commite470cc11949eb87469e0265f646ea20f884edab8 (patch)
treec1cd39c54ee17571a3f1f7177b66782eb3a2ef76 /net-misc/x2goserver
parentsys-apps/tuned: fix tmpfiles (diff)
downloadgentoo-e470cc11949eb87469e0265f646ea20f884edab8.tar.gz
gentoo-e470cc11949eb87469e0265f646ea20f884edab8.tar.bz2
gentoo-e470cc11949eb87469e0265f646ea20f884edab8.zip
net-misc/x2goserver: fix tmpfiles
Closes: https://bugs.gentoo.org/809332 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-misc/x2goserver')
-rw-r--r--net-misc/x2goserver/x2goserver-4.1.0.3-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-misc/x2goserver/x2goserver-4.1.0.3-r1.ebuild b/net-misc/x2goserver/x2goserver-4.1.0.3-r1.ebuild
index c702e328a829..78bc8c8e9fb2 100644
--- a/net-misc/x2goserver/x2goserver-4.1.0.3-r1.ebuild
+++ b/net-misc/x2goserver/x2goserver-4.1.0.3-r1.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit systemd toolchain-funcs xdg
+
+inherit systemd tmpfiles toolchain-funcs xdg
DESCRIPTION="The X2Go server"
HOMEPAGE="http://www.x2go.org"
@@ -78,7 +79,9 @@ src_install() {
}
pkg_postinst() {
+ tmpfiles_process x2goserver.conf
xdg_pkg_postinst
+
if use sqlite ; then
if [[ -f "${EROOT}"/var/lib/x2go/x2go_sessions ]] ; then
elog "To use sqlite and update your existing database, run:"
@@ -89,6 +92,7 @@ pkg_postinst() {
fi
fi
+
if use postgres ; then
elog "To use a PostgreSQL database, more information is availabe here:"
elog "http://www.x2go.org/doku.php/wiki:advanced:multi-node:x2goserver-pgsql"