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 url: https://deb.nodesource.com/node_16.x
plugs: plugs:
system-gitconfig: etc-gitconfig:
interface: system-files interface: system-files
read: read:
- /etc/gitconfig - /etc/gitconfig
user-gitconfig: gitconfig:
interface: personal-files interface: personal-files
read: read:
- $HOME/.gitconfig - $HOME/.gitconfig
- $HOME/.config/git/config - $HOME/.config/git/config
apps: apps:
hugo: hugo:
environment: environment: