summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-21 08:11:08 +0000
committerSam James <sam@gentoo.org>2022-11-21 08:11:08 +0000
commitd40335b4046654b9e3c3afbd7e362c2e3626760a (patch)
tree3bb196b9bda2ad3f2169af563dd80dbacc967ad9 /net-irc/ergo
parentdev-db/sqlite: add 3.40.0 (unkeyworded because of test failure) (diff)
downloadgentoo-d40335b4046654b9e3c3afbd7e362c2e3626760a.tar.gz
gentoo-d40335b4046654b9e3c3afbd7e362c2e3626760a.tar.bz2
gentoo-d40335b4046654b9e3c3afbd7e362c2e3626760a.zip
net-irc/ergo: fix username in OpenRC init script
We should probably rename the user somehow but feels like a waste. Closes: https://bugs.gentoo.org/881489 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc/ergo')
-rw-r--r--net-irc/ergo/ergo-2.10.0-r1.ebuild (renamed from net-irc/ergo/ergo-2.10.0.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-irc/ergo/ergo-2.10.0.ebuild b/net-irc/ergo/ergo-2.10.0-r1.ebuild
index 4a3df207138a..f166270d10d2 100644
--- a/net-irc/ergo/ergo-2.10.0.ebuild
+++ b/net-irc/ergo/ergo-2.10.0-r1.ebuild
@@ -23,6 +23,8 @@ DOCS=( README.md docs/MANUAL.md docs/USERGUIDE.md )
src_prepare() {
default
+ sed -i -e 's:ERGO_USERNAME="ergo":ERGO_USERNAME="oragono":' distrib/openrc/ergo.confd || die
+
# Minor fiddling with paths
sed -i \
-e 's:/home/ergo/ergo:/usr/bin/ergo:' \
@@ -33,7 +35,7 @@ src_prepare() {
}
src_compile() {
- go build . || die
+ ego build .
}
src_install() {