From b10368d03f686059e20838c9deb0ad42a1b1d312 Mon Sep 17 00:00:00 2001 From: thelamer Date: Thu, 7 Feb 2019 14:38:03 -0800 Subject: [PATCH] adding update exit logic on docker versioning --- root/etc/cont-init.d/60-plex-update | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/root/etc/cont-init.d/60-plex-update b/root/etc/cont-init.d/60-plex-update index 8d4c507..de8baf5 100755 --- a/root/etc/cont-init.d/60-plex-update +++ b/root/etc/cont-init.d/60-plex-update @@ -10,6 +10,12 @@ elif [[ "${ARCH}" == "aarch64" ]]; then exit 0 fi +# If docker manages versioning exit +if [ "${VERSION}" ] && [ "${VERSION}" == 'docker' ]; then + echo "Docker is used for verisoning skip update check" + exit 0 +fi + # test if plex is installed and try re-pulling latest if not if (dpkg --get-selections plexmediaserver | grep -wq "install"); then :