Skip to content

Commit 86ff461

Browse files
committed
tweak chown init once again
1 parent 85caabf commit 86ff461

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

root/etc/cont-init.d/40-chown-files

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/with-contenv bash
22

33
# create folders
4-
if [[ ! -d ${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR} ]]; then \
4+
if [ ! -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" ]; then \
55
mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
6-
chown -R abc:abc "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
6+
chown -R abc:abc /config
77
fi
88

99
# check Library permissions

0 commit comments

Comments
 (0)