Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/
Date: Wed, 05 Dec 2018 10:15:22
Message-Id: 1544004908.159c618d4383d24739152273ede234b3fe96703f.polynomial-c@gentoo
1 commit: 159c618d4383d24739152273ede234b3fe96703f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 5 10:13:12 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 5 10:15:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159c618d
7
8 net-dns/nsd: Minor ebuild improvements.
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-dns/nsd/nsd-4.1.25.ebuild | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
15
16 diff --git a/net-dns/nsd/nsd-4.1.25.ebuild b/net-dns/nsd/nsd-4.1.25.ebuild
17 index 9a5fc16aa9b..c5b30a4d01a 100644
18 --- a/net-dns/nsd/nsd-4.1.25.ebuild
19 +++ b/net-dns/nsd/nsd-4.1.25.ebuild
20 @@ -93,7 +93,7 @@ src_install() {
21
22 # remove the /run directory that usually resides on tmpfs and is
23 # being taken care of by the nsd init script anyway (checkpath)
24 - rm -r "${ED%/}"/run || die "Failed to remove /run"
25 + rm -r "${ED}"/run || die "Failed to remove /run"
26
27 keepdir /var/db/${PN}
28 }
29 @@ -104,8 +104,8 @@ pkg_postinst() {
30 enewuser nsd -1 -1 -1 nsd
31
32 # database directory, writable by nsd for database updates and zone transfers
33 - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/db/nsd
34 + install -d -m 750 -o nsd -g nsd "${EROOT}"/var/db/nsd
35
36 # zones directory, writable by nsd for zone file updates (nsd-control write)
37 - install -d -m 750 -o nsd -g nsd "${EROOT%/}"/var/lib/nsd
38 + install -d -m 750 -o nsd -g nsd "${EROOT}"/var/lib/nsd
39 }