summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2021-02-02 16:47:50 +0800
committerYixun Lan <dlan@gentoo.org>2021-02-02 16:52:14 +0800
commitc2e04474a31c1231ee0230a29675fdcce5d4107a (patch)
treeca01f1184e21fc1fc5bee0d697d26dfc23e3fe44 /net-misc
parentdev-python/bleach: Bump to 3.3.0 (diff)
downloadgentoo-c2e04474a31c1231ee0230a29675fdcce5d4107a.tar.gz
gentoo-c2e04474a31c1231ee0230a29675fdcce5d4107a.tar.bz2
gentoo-c2e04474a31c1231ee0230a29675fdcce5d4107a.zip
net-misc/endlessh: fix systemd exec path without rivision bump
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/endlessh/endlessh-1.1-r1.ebuild4
-rw-r--r--net-misc/endlessh/endlessh-9999.ebuild2
2 files changed, 3 insertions, 3 deletions
diff --git a/net-misc/endlessh/endlessh-1.1-r1.ebuild b/net-misc/endlessh/endlessh-1.1-r1.ebuild
index eb2ab463fcba..d1022eecb731 100644
--- a/net-misc/endlessh/endlessh-1.1-r1.ebuild
+++ b/net-misc/endlessh/endlessh-1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -41,7 +41,7 @@ src_prepare() {
-e 's/^PREFIX/PREFIX?/' \
Makefile || die
- sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \
+ sed -i -e "/^ExecStart=/ s:=/usr/local:=${EPREFIX}/usr:" \
util/endlessh.service || die
}
diff --git a/net-misc/endlessh/endlessh-9999.ebuild b/net-misc/endlessh/endlessh-9999.ebuild
index 45747936cb6c..8d77c61d5a7e 100644
--- a/net-misc/endlessh/endlessh-9999.ebuild
+++ b/net-misc/endlessh/endlessh-9999.ebuild
@@ -37,7 +37,7 @@ src_prepare() {
-e 's/^PREFIX/PREFIX?/' \
Makefile || die
- sed -i -e "/^ExecStart=/ s:=/opt/endlessh:=${EPREFIX}/usr/bin:" \
+ sed -i -e "/^ExecStart=/ s:=/usr/local:=${EPREFIX}/usr:" \
util/endlessh.service || die
}