commit:     1c77ec49e504e970eb8fd74a1d835c7ba75ac360
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 23:14:43 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 23:30:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c77ec49

net-im/ejabberd: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-im/ejabberd/ejabberd-20.04.ebuild | 2 ++
 net-im/ejabberd/ejabberd-21.04.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/net-im/ejabberd/ejabberd-20.04.ebuild 
b/net-im/ejabberd/ejabberd-20.04.ebuild
index e2df234b563..90c657f64b0 100644
--- a/net-im/ejabberd/ejabberd-20.04.ebuild
+++ b/net-im/ejabberd/ejabberd-20.04.ebuild
@@ -271,6 +271,8 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
+       tmpfiles_process ${PN}.tmpfiles.conf
+
        if [[ ! ${REPLACING_VERSIONS} ]]; then
                echo
                elog "For configuration instructions, please see"

diff --git a/net-im/ejabberd/ejabberd-21.04.ebuild 
b/net-im/ejabberd/ejabberd-21.04.ebuild
index 3cf52812905..245c006f114 100644
--- a/net-im/ejabberd/ejabberd-21.04.ebuild
+++ b/net-im/ejabberd/ejabberd-21.04.ebuild
@@ -252,6 +252,8 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
+       tmpfiles_process ${PN}.tmpfiles.conf
+
        if [[ ! ${REPLACING_VERSIONS} ]]; then
                echo
                elog "For configuration instructions, please see"

Reply via email to