We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
broker.conf.d
2 parents d8e30f7 + 0afb287 commit c68d003Copy full SHA for c68d003
1 file changed
snap/hooks/install
@@ -4,3 +4,7 @@ set -eu
4
5
cp --update=none "${SNAP}/conf/broker.conf.orig" "${SNAP_DATA}/broker.conf"
6
chmod 0600 "${SNAP_DATA}/broker.conf"
7
+
8
+# shellcheck disable=SC2174 # it's fine that --mode only applies to the deepest directory, because the SNAP_DATA
9
+# directory is created by snapd with the correct permissions.
10
+mkdir -p --mode=0755 "${SNAP_DATA}/broker.conf.d"
0 commit comments