commit: 2541ce540cd344632f96f712f24e4edb4ba69def Author: Sven Wegener <swegener <AT> gentoo <DOT> org> AuthorDate: Sat Feb 8 06:57:10 2020 +0000 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> CommitDate: Sat Feb 8 06:57:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2541ce54
sys-cluster/swift: Fix sed for init script /etc/init.d/swift-proxy: line 9: nneed: command not found Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> sys-cluster/swift/swift-2.24.0.ebuild | 2 +- sys-cluster/swift/swift-2019.2.9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/swift/swift-2.24.0.ebuild b/sys-cluster/swift/swift-2.24.0.ebuild index f9125af321f..66211332bf2 100644 --- a/sys-cluster/swift/swift-2.24.0.ebuild +++ b/sys-cluster/swift/swift-2.24.0.ebuild @@ -85,7 +85,7 @@ python_install_all() { newinitd "${FILESDIR}/swift-proxy.initd" "swift-proxy" newins "etc/proxy-server.conf-sample" "proxy-server.conf" if use memcached; then - sed -i '/depend/a\nneed memcached' "${D}/etc/init.d/swift-proxy" + sed -i '/depend/a\ need memcached' "${D}/etc/init.d/swift-proxy" fi fi if use account; then diff --git a/sys-cluster/swift/swift-2019.2.9999.ebuild b/sys-cluster/swift/swift-2019.2.9999.ebuild index f9125af321f..66211332bf2 100644 --- a/sys-cluster/swift/swift-2019.2.9999.ebuild +++ b/sys-cluster/swift/swift-2019.2.9999.ebuild @@ -85,7 +85,7 @@ python_install_all() { newinitd "${FILESDIR}/swift-proxy.initd" "swift-proxy" newins "etc/proxy-server.conf-sample" "proxy-server.conf" if use memcached; then - sed -i '/depend/a\nneed memcached' "${D}/etc/init.d/swift-proxy" + sed -i '/depend/a\ need memcached' "${D}/etc/init.d/swift-proxy" fi fi if use account; then