snap: Use interface names etc-gitconfig and gitconfig

as recommended by @alexmurray to keep consistency with other snaps; see
https://forum.snapcraft.io/t/system-files-and-personal-files-request-for-hugo/30598/2

One closer step towards fixing #6226
This commit is contained in:
Anthony Fok 2022-06-24 00:59:37 -06:00
parent 15463f835b
commit fd3953c18c
No known key found for this signature in database
GPG key ID: EA2500B412C59ACF

View file

@ -18,16 +18,16 @@ package-repositories:
url: https://deb.nodesource.com/node_16.x
plugs:
system-gitconfig:
etc-gitconfig:
interface: system-files
read:
- /etc/gitconfig
user-gitconfig:
gitconfig:
interface: personal-files
read:
- $HOME/.gitconfig
- $HOME/.config/git/config
apps:
hugo:
environment: