Skip to content
Permalink
Browse files

sed for ROOT_PATH was too greedy and made (SSH|STATIC)_ROOT_PATH to b…

…e /var/log/gitea which is wrong
  • Loading branch information...
jirib authored and Gottox committed Aug 13, 2019
1 parent 10f8182 commit 427b6eae48d16e6cf96f0975e1d3bb70c0250f9f
Showing with 4 additions and 2 deletions.
  1. +4 −2 srcpkgs/gitea/template
@@ -1,7 +1,7 @@
# Template file for 'gitea'
pkgname=gitea
version=1.9.0
revision=1
revision=2
build_style=go
go_import_path=code.gitea.io/gitea
# This could be done with build options, but these are built in with the
@@ -59,7 +59,9 @@ pre_install() {
s:data/gitea.db:/var/lib/gitea/&:
s:indexers/issues.bleve:/var/lib/gitea/&:
s:data/avatars:/var/lib/gitea/&:
s:ROOT_PATH =:& /var/log/gitea:' custom/conf/app.ini.sample
s:SSH_ROOT_PATH =:& /var/lib/gitea:
s:STATIC_ROOT_PATH =:& /var/lib/gitea:
s:^ROOT_PATH =:& /var/log/gitea:' custom/conf/app.ini.sample
}

post_install() {

0 comments on commit 427b6ea

Please sign in to comment.
You can’t perform that action at this time.