set git-core paths in snap (#13711)

Signed-off-by: artivis <deray.jeremie@gmail.com>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
release/v1.15
Jeremie Deray 2020-11-30 13:49:11 -05:00 committed by GitHub
parent 21cf205dc7
commit 870fd53320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ architectures:
environment: environment:
GITEA_CUSTOM: "$SNAP_COMMON" GITEA_CUSTOM: "$SNAP_COMMON"
GITEA_WORK_DIR: "$SNAP_DATA" GITEA_WORK_DIR: "$SNAP_DATA"
GIT_TEMPLATE_DIR: "$SNAP/usr/share/git-core/templates"
GIT_EXEC_PATH: "$SNAP/usr/lib/git-core"
apps: apps:
gitea: gitea: