mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
Merge updates from master
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -114,7 +114,7 @@ S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix paths in systemd unit.
|
||||
sed -i "s@/path/to/bin /path/to/config@"${EPREFIX}"/usr/bin/gemserv "${EPREFIX}"/etc/gemserv/config.toml@" \
|
||||
sed -i "s@/path/to/bin /path/to/config@${EPREFIX}/usr/bin/gemserv ${EPREFIX}/etc/gemserv/config.toml@" \
|
||||
init-scripts/gemserv.service || die
|
||||
|
||||
# Fix paths in config.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -108,7 +108,7 @@ S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix paths in systemd unit.
|
||||
sed -i "s@/path/to/bin /path/to/config@"${EPREFIX}"/usr/bin/gemserv "${EPREFIX}"/etc/gemserv/config.toml@" \
|
||||
sed -i "s@/path/to/bin /path/to/config@${EPREFIX}/usr/bin/gemserv ${EPREFIX}/etc/gemserv/config.toml@" \
|
||||
init-scripts/gemserv.service || die
|
||||
|
||||
# Fix paths in config.
|
||||
|
||||
Reference in New Issue
Block a user