summaryrefslogtreecommitdiff
path: root/net-dns/pdnsd/pdnsd-1.2.9a-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-01 22:03:23 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-01 22:03:23 +0100
commit590b9b7b03bf4651e099949e318755af7cfa81b8 (patch)
tree54c184b7d26c25f1922bfeaf19a1dd45a2e3b1eb /net-dns/pdnsd/pdnsd-1.2.9a-r2.ebuild
parentf4fc10428424904caf2035cffc442195cb088b2c (diff)
gentoo resync : 01.08.2021
Diffstat (limited to 'net-dns/pdnsd/pdnsd-1.2.9a-r2.ebuild')
-rw-r--r--net-dns/pdnsd/pdnsd-1.2.9a-r2.ebuild11
1 files changed, 1 insertions, 10 deletions
diff --git a/net-dns/pdnsd/pdnsd-1.2.9a-r2.ebuild b/net-dns/pdnsd/pdnsd-1.2.9a-r2.ebuild
index 8769b15cfd58..209fff4708a5 100644
--- a/net-dns/pdnsd/pdnsd-1.2.9a-r2.ebuild
+++ b/net-dns/pdnsd/pdnsd-1.2.9a-r2.ebuild
@@ -94,14 +94,5 @@ pkg_postinst() {
elog ""
elog "Sample config file in /etc/pdnsd/pdnsd.conf.sample"
- # The tmpfiles.d configuration does not come into effect before the
- # next reboot so create the cachedir now.
- local cachedir="${EPREFIX}/var/cache/pdnsd"
- if [[ ! -d "${cachedir}" ]] ; then
- mkdir "${cachedir}" || eerror "Failed to create cache"
- fi
- chown pdnsd:pdnsd "${cachedir}" \
- || eerror "Failed to set ownership for cachedir"
- chmod 0750 "${cachedir}" \
- || eerror "Failed to set permissions for cachedir"
+ tmpfiles_process pdnsd.conf
}