summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-12-05 11:13:12 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-12-05 11:15:08 +0100
commit159c618d4383d24739152273ede234b3fe96703f (patch)
tree4420224602f603a77d8934dbf54f2e6421ced3f1 /net-dns
parentnet-dns/nsd: Bump to version 4.1.26 (diff)
downloadgentoo-159c618d4383d24739152273ede234b3fe96703f.tar.gz
gentoo-159c618d4383d24739152273ede234b3fe96703f.tar.bz2
gentoo-159c618d4383d24739152273ede234b3fe96703f.zip
net-dns/nsd: Minor ebuild improvements.
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/nsd/nsd-4.1.25.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-dns/nsd/nsd-4.1.25.ebuild b/net-dns/nsd/nsd-4.1.25.ebuild
index 9a5fc16aa9bb..c5b30a4d01a1 100644
--- a/net-dns/nsd/nsd-4.1.25.ebuild
+++ b/net-dns/nsd/nsd-4.1.25.ebuild
@@ -93,7 +93,7 @@ src_install() {
# remove the /run directory that usually resides on tmpfs and is
# being taken care of by the nsd init script anyway (checkpath)
- rm -r "${ED%/}"/run || die "Failed to remove /run"
+ rm -r "${ED}"/run || die "Failed to remove /run"
keepdir /var/db/${PN}
}
@@ -104,8 +104,8 @@ pkg_postinst() {
enewuser nsd -1 -1 -1 nsd
# database directory, writable by nsd for database updates and zone transfers
- install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd
+ install -d -m 750 -o nsd -g nsd "${EROOT}"/var/db/nsd
# zones directory, writable by nsd for zone file updates (nsd-control write)
- install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd
+ install -d -m 750 -o nsd -g nsd "${EROOT}"/var/lib/nsd
}