Updated to new version-fetch url, now for public consumption.
This commit is contained in:
parent
7c022ff2e8
commit
b2086f5140
2 changed files with 3 additions and 3 deletions
|
|
@ -4,10 +4,10 @@ INSTALLED=`dpkg-query -W -f='${Version}' plexmediaserver`
|
|||
if [ $VERSION ]; then
|
||||
echo "Useing version: $VERSION from Manual"
|
||||
elif [ "$PLEXPASS" == "1" ]; then
|
||||
VERSION=$(curl -s https://fanart.tv/webservice/plex/plex.php?v=plexpass | grep "version" | cut -d '"' -f 4)
|
||||
VERSION=$(curl -s http://tools.linuxserver.io/latest-plexpass.json | grep "version" | cut -d '"' -f 4)
|
||||
echo "Useing version: $VERSION from Plexpass latest"
|
||||
else
|
||||
VERSION=$(curl -s https://fanart.tv/webservice/plex/plex.php | grep "version" | cut -d '"' -f 4)
|
||||
VERSION=$(curl -s http://tools.linuxserver.io/latest-plex.json| grep "version" | cut -d '"' -f 4)
|
||||
echo "Useing version: $VERSION from Public latest"
|
||||
fi
|
||||
if [ "$VERSION" == "$INSTALLED" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue