aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAnthony Fok <[email protected]>2022-06-24 00:59:37 -0600
committerAnthony Fok <[email protected]>2022-06-24 00:59:37 -0600
commitfd3953c18cc198b9d8b6474173f6b5522b8d0e47 (patch)
tree5fcf298afca79ed8be36dedee20fb8addc42cf19
parent15463f835bbadd6f86158b83cb1499721ae2269f (diff)
downloadhugo-fd3953c18cc198b9d8b6474173f6b5522b8d0e47.tar.gz
hugo-fd3953c18cc198b9d8b6474173f6b5522b8d0e47.zip
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
-rw-r--r--snap/snapcraft.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 32ce2553c..3594381a4 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -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: