Skip to content

Commit 9109939

Browse files
authored
Merge pull request #153 from thelamer/master
adding update exit logic on docker versioning
2 parents 586d42a + b10368d commit 9109939

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

root/etc/cont-init.d/60-plex-update

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ elif [[ "${ARCH}" == "aarch64" ]]; then
1010
exit 0
1111
fi
1212

13+
# If docker manages versioning exit
14+
if [ "${VERSION}" ] && [ "${VERSION}" == 'docker' ]; then
15+
echo "Docker is used for verisoning skip update check"
16+
exit 0
17+
fi
18+
1319
# test if plex is installed and try re-pulling latest if not
1420
if (dpkg --get-selections plexmediaserver | grep -wq "install"); then
1521
:

0 commit comments

Comments
 (0)