Changed Location for version check to a publicly avalible place
This commit is contained in:
parent
73635c64d7
commit
60e5eb1847
1 changed files with 2 additions and 2 deletions
|
|
@ -2,9 +2,9 @@
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
INSTALLED=`dpkg-query -W -f='${Version}' plexmediaserver`
|
INSTALLED=`dpkg-query -W -f='${Version}' plexmediaserver`
|
||||||
if [ -z "$PLEXPASS" ]; then
|
if [ -z "$PLEXPASS" ]; then
|
||||||
VERSION=$(curl https://lonix.me/mirror/plex/plexPub.ver)
|
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/public)
|
||||||
else
|
else
|
||||||
VERSION=$(curl https://lonix.me/mirror/plex/plexPass.ver)
|
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/plexpass)
|
||||||
fi
|
fi
|
||||||
if [ "$VERSION" == "$INSTALLED" ]; then
|
if [ "$VERSION" == "$INSTALLED" ]; then
|
||||||
exit 0;
|
exit 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue