commit:     073532b17c2d28bd996e0ba9def8690405f2c85b
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 17 19:39:33 2020 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri Apr 17 19:39:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=073532b1

sys-apps/iproute2: QAfix emptydir /var/lib/arpd

Closes: https://bugs.gentoo.org/647032
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 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 9e2e1f7f4e5..7670dd448c2 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
 }

Reply via email to