mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
net-dns/knot: fix deletion path for /var/run, indent
Package creates /var/run. The deletion path must be ${ED} instead of ${D}.
Remove recursively /var/run
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44220
Closes: https://github.com/gentoo/gentoo/pull/44220
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
da5e4d2f21
commit
ffb46bb3f0
@@ -66,7 +66,7 @@ RDEPEND="
|
||||
geoip? ( dev-libs/libmaxminddb:= )
|
||||
redis? ( >=dev-libs/hiredis-1.1.0:= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
)
|
||||
)
|
||||
prometheus? (
|
||||
dev-python/prometheus-client[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
@@ -207,7 +207,7 @@ src_install() {
|
||||
default
|
||||
|
||||
if use daemon; then
|
||||
rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
|
||||
rm -r "${ED}"/var/run/ || die
|
||||
|
||||
newinitd "${FILESDIR}"/knot-3.init knot
|
||||
newconfd "${FILESDIR}"/knot.confd knot
|
||||
|
||||
Reference in New Issue
Block a user