summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-04-17 12:39:33 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-04-17 12:47:58 -0700
commit8533ec2bf691a3b11fafbd20a05aaa417c306f01 (patch)
tree86baac5cd9e7b400512e2e3d7aae11bcc284b44b /sys-apps/iproute2
parentsys-apps/iproute2: QAfix emptydir /var/lib/arpd (diff)
downloadgentoo-8533ec2bf691a3b11fafbd20a05aaa417c306f01.tar.gz
gentoo-8533ec2bf691a3b11fafbd20a05aaa417c306f01.tar.bz2
gentoo-8533ec2bf691a3b11fafbd20a05aaa417c306f01.zip
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 <robbat2@gentoo.org>
Diffstat (limited to 'sys-apps/iproute2')
-rw-r--r--sys-apps/iproute2/iproute2-5.6.0.ebuild2
1 files changed, 1 insertions, 1 deletions
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
}