commit:     3fcaad40bde3a06a1fa625d5d3aa436dc01825fd
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 19 14:52:54 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Wed Oct 19 14:52:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fcaad40

net-dns/knot-resolver: only call tmpfiles_process if USE=systemd

Closes: https://bugs.gentoo.org/877337
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 net-dns/knot-resolver/knot-resolver-5.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
index 58013de8e63e..608408bc9bf9 100644
--- a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
+++ b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
@@ -86,5 +86,5 @@ src_install() {
 }
 
 pkg_postinst() {
-       tmpfiles_process knot-resolver.conf
+       use systemd && tmpfiles_process knot-resolver.conf
 }

Reply via email to