summaryrefslogtreecommitdiff
path: root/net-dns/pdnsd/pdnsd-1.2.9a-r2.ebuild
diff options
context:
space:
mode:
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
}