Skip to content

Commit

Permalink
adding update exit logic on docker versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Feb 7, 2019
1 parent 586d42a commit b10368d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions root/etc/cont-init.d/60-plex-update
Original file line number Diff line number Diff line change
Expand Up @@ -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
:
Expand Down

0 comments on commit b10368d

Please sign in to comment.