diff options
author | Joonas Niilola <juippis@gentoo.org> | 2023-05-27 11:02:14 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-05-27 11:24:43 +0300 |
commit | 77689176e2f3065ec4a73700a226eafb6c532922 (patch) | |
tree | 63fdbc8f34b7f7b6df0599c1b5d47f554afa84f2 /www-apps | |
parent | www-apps/gitea: add 1.19.3 (diff) | |
download | gentoo-77689176e2f3065ec4a73700a226eafb6c532922.tar.gz gentoo-77689176e2f3065ec4a73700a226eafb6c532922.tar.bz2 gentoo-77689176e2f3065ec4a73700a226eafb6c532922.zip |
www-apps/gitea: clean tons of stale seds from 1.19.3
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/gitea/gitea-1.19.3.ebuild | 11 |
1 files changed, 1 insertions, 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 |