]> source.dussan.org Git - gitea.git/commitdiff
set git-core paths in snap (#13711)
authorJeremie Deray <deray.jeremie@gmail.com>
Mon, 30 Nov 2020 18:49:11 +0000 (13:49 -0500)
committerGitHub <noreply@github.com>
Mon, 30 Nov 2020 18:49:11 +0000 (13:49 -0500)
Signed-off-by: artivis <deray.jeremie@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
snap/snapcraft.yaml

index dd2d98a391e4cb1d7696b1fb38c86b40ae852862..7914cee2c802df940599840437508d2ddfcf3da3 100644 (file)
@@ -19,6 +19,8 @@ architectures:
 environment:
   GITEA_CUSTOM: "$SNAP_COMMON"
   GITEA_WORK_DIR: "$SNAP_DATA"
+  GIT_TEMPLATE_DIR: "$SNAP/usr/share/git-core/templates"
+  GIT_EXEC_PATH: "$SNAP/usr/lib/git-core"
 
 apps:
   gitea: