mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
Merge updates from master
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2020 Gentoo Authors
|
# Copyright 2020-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@@ -114,7 +114,7 @@ S="${WORKDIR}/${PN}-v${PV}"
|
|||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Fix paths in systemd unit.
|
# 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
|
init-scripts/gemserv.service || die
|
||||||
|
|
||||||
# Fix paths in config.
|
# Fix paths in config.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2020 Gentoo Authors
|
# Copyright 2020-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@@ -108,7 +108,7 @@ S="${WORKDIR}/${PN}-v${PV}"
|
|||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Fix paths in systemd unit.
|
# 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
|
init-scripts/gemserv.service || die
|
||||||
|
|
||||||
# Fix paths in config.
|
# Fix paths in config.
|
||||||
|
|||||||
Reference in New Issue
Block a user