1 |
commit: 707ad6927c6de735e8718d9c823c9ee616bfa9bb |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 23 20:01:23 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 23 20:01:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=707ad692 |
7 |
|
8 |
net-misc/openvswitch: clean up trailing slashes |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
net-misc/openvswitch/openvswitch-2.13.0.ebuild | 10 +++++----- |
14 |
1 file changed, 5 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/openvswitch/openvswitch-2.13.0.ebuild b/net-misc/openvswitch/openvswitch-2.13.0.ebuild |
17 |
index 6d6ed76b011..cf9fdf94575 100644 |
18 |
--- a/net-misc/openvswitch/openvswitch-2.13.0.ebuild |
19 |
+++ b/net-misc/openvswitch/openvswitch-2.13.0.ebuild |
20 |
@@ -96,14 +96,14 @@ src_install() { |
21 |
sed -e '1s|^.*$|#!/usr/bin/python|' -i utilities/"${SCRIPT}" |
22 |
python_foreach_impl python_doscript utilities/"${SCRIPT}" |
23 |
done |
24 |
- rm -r "${ED%/}"/usr/share/openvswitch/python || die |
25 |
+ rm -r "${ED%}"/usr/share/openvswitch/python || die |
26 |
fi |
27 |
|
28 |
keepdir /var/{lib,log}/openvswitch |
29 |
keepdir /etc/ssl/openvswitch |
30 |
fperms 0750 /etc/ssl/openvswitch |
31 |
|
32 |
- rm -rf "${ED%/}"/var/run || die |
33 |
+ rm -rf "${ED%}"/var/run || die |
34 |
|
35 |
newconfd "${FILESDIR}/ovsdb-server_conf2" ovsdb-server |
36 |
newconfd "${FILESDIR}/ovs-vswitchd.confd-r2" ovs-vswitchd |
37 |
@@ -132,15 +132,15 @@ pkg_postinst() { |
38 |
} |
39 |
|
40 |
pkg_config() { |
41 |
- local db="${EROOT%/}"/var/lib/openvswitch/conf.db |
42 |
+ local db="${EROOT%}"/var/lib/openvswitch/conf.db |
43 |
if [[ -e "${db}" ]] ; then |
44 |
einfo "Database '${db}' already exists, doing schema migration..." |
45 |
einfo "(if the migration fails, make sure that ovsdb-server is not running)" |
46 |
ovsdb-tool convert "${db}" \ |
47 |
- "${EROOT%/}"/usr/share/openvswitch/vswitch.ovsschema || die "converting database failed" |
48 |
+ "${EROOT%}"/usr/share/openvswitch/vswitch.ovsschema || die "converting database failed" |
49 |
else |
50 |
einfo "Creating new database '${db}'..." |
51 |
ovsdb-tool create "${db}" \ |
52 |
- "${EROOT%/}"/usr/share/openvswitch/vswitch.ovsschema || die "creating database failed" |
53 |
+ "${EROOT%}"/usr/share/openvswitch/vswitch.ovsschema || die "creating database failed" |
54 |
fi |
55 |
} |