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: