summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-10-05 08:22:53 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-10-05 08:22:53 -0500
commit92b8c417d8bbeb6b531cb1cfd08ac6fc79aa40d5 (patch)
treefc2eeb214e864b55d0d3a87901bd0175f84ee1c4 /net-misc/openvswitch/openvswitch-2.6.0.ebuild
parentsys-cluster/neutron: disabling py3 until it works (diff)
downloadgentoo-92b8c417d8bbeb6b531cb1cfd08ac6fc79aa40d5.tar.gz
gentoo-92b8c417d8bbeb6b531cb1cfd08ac6fc79aa40d5.tar.bz2
gentoo-92b8c417d8bbeb6b531cb1cfd08ac6fc79aa40d5.zip
net-misc/openvswitch: fixing it for the last time I hope
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-misc/openvswitch/openvswitch-2.6.0.ebuild')
-rw-r--r--net-misc/openvswitch/openvswitch-2.6.0.ebuild8
1 files 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