adding update exit logic on docker versioning

This commit is contained in:
thelamer 2019-02-07 14:38:03 -08:00
parent 586d42a740
commit b10368d03f

View file

@ -10,6 +10,12 @@ elif [[ "${ARCH}" == "aarch64" ]]; then
exit 0 exit 0
fi 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 # test if plex is installed and try re-pulling latest if not
if (dpkg --get-selections plexmediaserver | grep -wq "install"); then if (dpkg --get-selections plexmediaserver | grep -wq "install"); then
: :