From 870fd533202ee7f480e0ddc5bf48abb8e913d369 Mon Sep 17 00:00:00 2001 From: Jeremie Deray Date: Mon, 30 Nov 2020 13:49:11 -0500 Subject: [PATCH] set git-core paths in snap (#13711) Signed-off-by: artivis Co-authored-by: techknowlogick --- snap/snapcraft.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index dd2d98a391e4..7914cee2c802 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: