use PLEX_MEDIA_SERVER_INFO_DEVICE=docker to identify to pms using a docker image, fix quotes on variable, shellcheck
This commit is contained in:
parent
bac8b14e6c
commit
894d4b74fa
2 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,7 @@
|
|||
if [ ! -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" ]; then
|
||||
mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
|
||||
chown abc:abc "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
|
||||
elif [ ! "$(stat -c %u ${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR})" = "$PUID" ]; then
|
||||
elif [ ! "$(stat -c %u "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}")" = "$PUID" ]; then
|
||||
echo "Change in ownership detected, please be patient while we chown existing files"
|
||||
echo "This could take some time"
|
||||
chown abc:abc -R \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue