From 073532b17c2d28bd996e0ba9def8690405f2c85b 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 Closes: https://bugs.gentoo.org/647032 Signed-off-by: Robin H. Johnson --- sys-apps/iproute2/iproute2-5.6.0.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys-apps/iproute2/iproute2-5.6.0.ebuild b/sys-apps/iproute2/iproute2-5.6.0.ebuild index 9e2e1f7f4e54..7670dd448c2e 100644 --- a/sys-apps/iproute2/iproute2-5.6.0.ebuild +++ b/sys-apps/iproute2/iproute2-5.6.0.ebuild @@ -158,5 +158,7 @@ src_install() { # bug 47482, arpd doesn't need to be in /sbin dodir /usr/bin mv "${ED}"/sbin/arpd "${ED}"/usr/bin/ || die + elif [[ -d "${ED}"/var/lib/arpd ]]; then + rmdir "${ED}"/var/lib/arpd || die fi } -- 2.26.2