Skip to content

Commit c68d003

Browse files
authored
Create broker.conf.d directory during snap installation (#1481)
Closes #1480 UDENG-9739
2 parents d8e30f7 + 0afb287 commit c68d003

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

snap/hooks/install

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ set -eu
44

55
cp --update=none "${SNAP}/conf/broker.conf.orig" "${SNAP_DATA}/broker.conf"
66
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

Comments
 (0)