From 8533ec2bf691a3b11fafbd20a05aaa417c306f01 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Fri, 17 Apr 2020 12:39:33 -0700 Subject: [PATCH] sys-apps/iproute2: QAfix emptydir /var/lib/arpd (take 2) Also cleanup parent directories as much as possible. Closes: https://bugs.gentoo.org/647032 Signed-off-by: Robin H. Johnson --- sys-apps/iproute2/iproute2-5.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/iproute2/iproute2-5.6.0.ebuild b/sys-apps/iproute2/iproute2-5.6.0.ebuild index 7670dd448c2e..622ac0d68948 100644 --- a/sys-apps/iproute2/iproute2-5.6.0.ebuild +++ b/sys-apps/iproute2/iproute2-5.6.0.ebuild @@ -159,6 +159,6 @@ src_install() { dodir /usr/bin mv "${ED}"/sbin/arpd "${ED}"/usr/bin/ || die elif [[ -d "${ED}"/var/lib/arpd ]]; then - rmdir "${ED}"/var/lib/arpd || die + rmdir --ignore-fail-on-non-empty -p "${ED}"/var/lib/arpd || die fi } -- 2.26.2