summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremie Deray <deray.jeremie@gmail.com>2020-11-30 13:49:11 -0500
committerGitHub <noreply@github.com>2020-11-30 13:49:11 -0500
commit870fd533202ee7f480e0ddc5bf48abb8e913d369 (patch)
treefdd78aab6b6182c7a82a4ec72ecece9a3bd79f00
parent21cf205dc770d637a9ba636644cf8bf690cc100d (diff)
downloadgitea-870fd533202ee7f480e0ddc5bf48abb8e913d369.tar.gz
gitea-870fd533202ee7f480e0ddc5bf48abb8e913d369.zip
set git-core paths in snap (#13711)
Signed-off-by: artivis <deray.jeremie@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
-rw-r--r--snap/snapcraft.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index dd2d98a391..7914cee2c8 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -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: