commit: 77689176e2f3065ec4a73700a226eafb6c532922
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 08:02:14 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat May 27 08:24:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77689176
www-apps/gitea: clean tons of stale seds from 1.19.3
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-apps/gitea/gitea-1.19.3.ebuild | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/www-apps/gitea/gitea-1.19.3.ebuild
b/www-apps/gitea/gitea-1.19.3.ebuild
index cccfb5e71fda..12114bd9abec 100644
--- a/www-apps/gitea/gitea-1.19.3.ebuild
+++ b/www-apps/gitea/gitea-1.19.3.ebuild
@@ -42,16 +42,7 @@ RESTRICT="test"
src_prepare() {
default
- local sedcmds=(
- -e "s#^ROOT =#ROOT =
${EPREFIX}/var/lib/gitea/gitea-repositories#"
- -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/gitea#"
- -e "s#^APP_DATA_PATH = data#APP_DATA_PATH =
${EPREFIX}/var/lib/gitea/data#"
- -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
- -e "s#^MODE = console#MODE = file#"
- -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
- )
-
- sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
+ sed -i -e "s#^MODE = console#MODE = file#" custom/conf/app.example.ini
|| die
if use sqlite ; then
sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#"
custom/conf/app.example.ini || die
fi