From ffb46bb3f01994ba67d3d57ffa0518497c5a899b Mon Sep 17 00:00:00 2001 From: Nicolas PARLANT Date: Fri, 17 Oct 2025 14:48:44 +0200 Subject: [PATCH] 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 Part-of: https://github.com/gentoo/gentoo/pull/44220 Closes: https://github.com/gentoo/gentoo/pull/44220 Signed-off-by: Sam James --- 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 86eb1be1a5e4b..36d3583f1cec3 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