summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-10-30 20:28:37 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-10-30 20:29:24 +0300
commita199435dbeebcd76826abdf3a6832af96c1fec33 (patch)
tree45a0c64081d72f129ab1a6ae688c5cd0dcee27dc /net-dns
parentdev-python/elementpath: Bump to 2.0.4 (diff)
downloadgentoo-a199435dbeebcd76826abdf3a6832af96c1fec33.tar.gz
gentoo-a199435dbeebcd76826abdf3a6832af96c1fec33.tar.bz2
gentoo-a199435dbeebcd76826abdf3a6832af96c1fec33.zip
net-dns/bind: fix tmpfiles phase handeling
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind/bind-9.16.8.ebuild4
1 files 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"