diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2020-04-23 15:01:23 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2020-04-23 15:01:23 -0500 |
commit | 707ad6927c6de735e8718d9c823c9ee616bfa9bb (patch) | |
tree | dc85c75ba05f6827aaa0b4eac197c0475cd3d4de /net-misc | |
parent | sys-cluster/swift: 2.25.0 and 2020.1.9999 usurri bump (diff) | |
download | gentoo-707ad6927c6de735e8718d9c823c9ee616bfa9bb.tar.gz gentoo-707ad6927c6de735e8718d9c823c9ee616bfa9bb.tar.bz2 gentoo-707ad6927c6de735e8718d9c823c9ee616bfa9bb.zip |
net-misc/openvswitch: clean up trailing slashes
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/openvswitch/openvswitch-2.13.0.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-misc/openvswitch/openvswitch-2.13.0.ebuild b/net-misc/openvswitch/openvswitch-2.13.0.ebuild index 6d6ed76b011e..cf9fdf94575b 100644 --- a/net-misc/openvswitch/openvswitch-2.13.0.ebuild +++ b/net-misc/openvswitch/openvswitch-2.13.0.ebuild @@ -96,14 +96,14 @@ src_install() { sed -e '1s|^.*$|#!/usr/bin/python|' -i utilities/"${SCRIPT}" python_foreach_impl python_doscript utilities/"${SCRIPT}" done - rm -r "${ED%/}"/usr/share/openvswitch/python || die + rm -r "${ED%}"/usr/share/openvswitch/python || die fi keepdir /var/{lib,log}/openvswitch keepdir /etc/ssl/openvswitch fperms 0750 /etc/ssl/openvswitch - rm -rf "${ED%/}"/var/run || die + rm -rf "${ED%}"/var/run || die newconfd "${FILESDIR}/ovsdb-server_conf2" ovsdb-server newconfd "${FILESDIR}/ovs-vswitchd.confd-r2" ovs-vswitchd @@ -132,15 +132,15 @@ pkg_postinst() { } pkg_config() { - local db="${EROOT%/}"/var/lib/openvswitch/conf.db + local db="${EROOT%}"/var/lib/openvswitch/conf.db if [[ -e "${db}" ]] ; then einfo "Database '${db}' already exists, doing schema migration..." einfo "(if the migration fails, make sure that ovsdb-server is not running)" ovsdb-tool convert "${db}" \ - "${EROOT%/}"/usr/share/openvswitch/vswitch.ovsschema || die "converting database failed" + "${EROOT%}"/usr/share/openvswitch/vswitch.ovsschema || die "converting database failed" else einfo "Creating new database '${db}'..." ovsdb-tool create "${db}" \ - "${EROOT%/}"/usr/share/openvswitch/vswitch.ovsschema || die "creating database failed" + "${EROOT%}"/usr/share/openvswitch/vswitch.ovsschema || die "creating database failed" fi } |