Merge pull request #153 from thelamer/master

adding update exit logic on docker versioning
This commit is contained in:
aptalca 2019-02-07 17:50:28 -05:00 committed by GitHub
commit 9109939e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
: