From 92b8c417d8bbeb6b531cb1cfd08ac6fc79aa40d5 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Wed, 5 Oct 2016 08:22:53 -0500 Subject: [PATCH] net-misc/openvswitch: fixing it for the last time I hope Package-Manager: portage-2.3.0 --- net-misc/openvswitch/openvswitch-2.6.0.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net-misc/openvswitch/openvswitch-2.6.0.ebuild b/net-misc/openvswitch/openvswitch-2.6.0.ebuild index b2c629c87fda..721111b5ac68 100644 --- a/net-misc/openvswitch/openvswitch-2.6.0.ebuild +++ b/net-misc/openvswitch/openvswitch-2.6.0.ebuild @@ -107,8 +107,12 @@ src_install() { fperms 0750 /etc/ssl/openvswitch rm -rf "${ED}var/run" || die "rm failed" - ! use monitor && rmdir "${ED}usr/share/ovsdbmonitor" || die "rm failed" - ! use debug && rm "${ED}usr/bin/ovs-parse-leaks" die "rm failed" + if ! use monitor ; then + rmdir "${ED}usr/share/ovsdbmonitor" || die "rm failed" + fi + if ! use debug ; then + rm "${ED}usr/bin/ovs-parse-leaks" die "rm failed" + fi newconfd "${FILESDIR}/ovsdb-server_conf2" ovsdb-server newconfd "${FILESDIR}/ovs-vswitchd_conf" ovs-vswitchd -- 2.26.2