summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-08-08 10:28:11 -0400
committerMike Gilbert <floppym@gentoo.org>2016-08-08 10:28:36 -0400
commit7143f859648798a76539a351da410945084db03e (patch)
tree304f40048459fa822f513e28aac8da0bccb8f21b /net-misc/networkmanager
parentdev-perl/Tie-Array-Sorted: Remove POD Author tests. (diff)
downloadgentoo-7143f859648798a76539a351da410945084db03e.tar.gz
gentoo-7143f859648798a76539a351da410945084db03e.tar.bz2
gentoo-7143f859648798a76539a351da410945084db03e.zip
net-misc/networkmanager: remove empty /run/NetworkManager only
Instead of removing all empty directories, just remove /run/NetworkManager and its parent. https://bugs.gentoo.org/590718#c5 Package-Manager: portage-2.3.0_p16
Diffstat (limited to 'net-misc/networkmanager')
-rw-r--r--net-misc/networkmanager/networkmanager-1.2.4.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/networkmanager/networkmanager-1.2.4.ebuild b/net-misc/networkmanager/networkmanager-1.2.4.ebuild
index 9c3163d3bcab..c37e2512a27d 100644
--- a/net-misc/networkmanager/networkmanager-1.2.4.ebuild
+++ b/net-misc/networkmanager/networkmanager-1.2.4.ebuild
@@ -277,8 +277,8 @@ multilib_src_install_all() {
insinto /usr/share/polkit-1/rules.d/
doins "${FILESDIR}/01-org.freedesktop.NetworkManager.settings.modify.system.rules"
- # Remove any empty directories
- find "${D}" -type d -empty -delete || die
+ # Remove empty /run/NetworkManager
+ rmdir "${D}"/run/NetworkManager "${D}"/run || die
}
pkg_postinst() {