Merge remote-tracking branch 'upstream/master'

This commit is contained in:
BuildTools 2024-11-02 12:42:42 +00:00
commit 8e9b62b828
7 changed files with 36 additions and 10 deletions

View file

@ -1,6 +1,8 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
mkdir -p /run/plex-temp
# create folders
if [[ ! -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" ]]; then
mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
@ -35,5 +37,6 @@ fi
# permissions (non-recursive) on config root and folders
lsiown abc:abc \
/run/plex-temp \
/config \
/config/*

View file

@ -1,6 +1,11 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
if [[ -n ${LSIO_READ_ONLY_FS} ]] || [[ -n ${LSIO_NON_ROOT_USER} ]]; then
echo "Runtime update not supported with read-only or non-root operation, skipping."
exit 0
fi
# If docker manages versioning exit
if [[ -n "${VERSION}" ]] && [[ "${VERSION}" == "docker" ]]; then
echo "Docker is used for versioning skip update check"