commit: a199435dbeebcd76826abdf3a6832af96c1fec33
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 30 17:28:37 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Fri Oct 30 17:29:24 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a199435d
net-dns/bind: fix tmpfiles phase handeling
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
net-dns/bind/bind-9.16.8.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-dns/bind/bind-9.16.8.ebuild b/net-dns/bind/bind-9.16.8.ebuild
index 3ee669a35b7..2c16964d689 100644
--- a/net-dns/bind/bind-9.16.8.ebuild
+++ b/net-dns/bind/bind-9.16.8.ebuild
@@ -267,8 +267,6 @@ src_install() {
dotmpfiles "${FILESDIR}"/named.conf
exeinto /usr/libexec
doexe "${FILESDIR}/generate-rndc-key.sh"
-
- tmpfiles_process
}
python_install() {
@@ -281,6 +279,8 @@ python_install() {
}
pkg_postinst() {
+ tmpfiles_process "${FILESDIR}"/named.conf
+
if [ ! -f '/etc/bind/rndc.key' ]; then
if use urandom; then
einfo "Using /dev/urandom for generating rndc.key"