Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/openvswitch/
Date: Wed, 05 Oct 2016 13:24:11
Message-Id: 1475673773.92b8c417d8bbeb6b531cb1cfd08ac6fc79aa40d5.prometheanfire@gentoo
1 commit: 92b8c417d8bbeb6b531cb1cfd08ac6fc79aa40d5
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 5 13:22:53 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 5 13:22:53 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b8c417
7
8 net-misc/openvswitch: fixing it for the last time I hope
9
10 Package-Manager: portage-2.3.0
11
12 net-misc/openvswitch/openvswitch-2.6.0.ebuild | 8 ++++++--
13 1 file changed, 6 insertions(+), 2 deletions(-)
14
15 diff --git a/net-misc/openvswitch/openvswitch-2.6.0.ebuild b/net-misc/openvswitch/openvswitch-2.6.0.ebuild
16 index b2c629c..721111b 100644
17 --- a/net-misc/openvswitch/openvswitch-2.6.0.ebuild
18 +++ b/net-misc/openvswitch/openvswitch-2.6.0.ebuild
19 @@ -107,8 +107,12 @@ src_install() {
20 fperms 0750 /etc/ssl/openvswitch
21
22 rm -rf "${ED}var/run" || die "rm failed"
23 - ! use monitor && rmdir "${ED}usr/share/ovsdbmonitor" || die "rm failed"
24 - ! use debug && rm "${ED}usr/bin/ovs-parse-leaks" die "rm failed"
25 + if ! use monitor ; then
26 + rmdir "${ED}usr/share/ovsdbmonitor" || die "rm failed"
27 + fi
28 + if ! use debug ; then
29 + rm "${ED}usr/bin/ovs-parse-leaks" die "rm failed"
30 + fi
31
32 newconfd "${FILESDIR}/ovsdb-server_conf2" ovsdb-server
33 newconfd "${FILESDIR}/ovs-vswitchd_conf" ovs-vswitchd