From 86ff461b4220996d9d1927290ea1da77ab2a3532 Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Wed, 11 Jan 2017 20:37:30 +0000 Subject: [PATCH] tweak chown init once again --- root/etc/cont-init.d/40-chown-files | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/cont-init.d/40-chown-files b/root/etc/cont-init.d/40-chown-files index ffb4503..6726d97 100644 --- a/root/etc/cont-init.d/40-chown-files +++ b/root/etc/cont-init.d/40-chown-files @@ -1,9 +1,9 @@ #!/usr/bin/with-contenv bash # create folders -if [[ ! -d ${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR} ]]; then \ +if [ ! -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" ]; then \ mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" -chown -R abc:abc "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" +chown -R abc:abc /config fi # check Library permissions