Skip to content

Commit

Permalink
snap: Use interface names etc-gitconfig and gitconfig
Browse files Browse the repository at this point in the history
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
  • Loading branch information
anthonyfok committed Jun 24, 2022
1 parent 15463f8 commit fd3953c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snap/snapcraft.yaml
Expand Up @@ -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:
Expand Down

0 comments on commit fd3953c

Please sign in to comment.