commit:     ffb46bb3f01994ba67d3d57ffa0518497c5a899b
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Fri Oct 17 12:48:44 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 13:37:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb46bb3

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 <AT> 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 <AT> gentoo.org>

 net-dns/knot/knot-3.5.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/knot/knot-3.5.1.ebuild b/net-dns/knot/knot-3.5.1.ebuild
index 86eb1be1a5e4..36d3583f1cec 100644
--- a/net-dns/knot/knot-3.5.1.ebuild
+++ b/net-dns/knot/knot-3.5.1.ebuild
@@ -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

Reply via email to