|
|
@ -4,10 +4,10 @@ INSTALLED=`dpkg-query -W -f='${Version}' plexmediaserver`
|
|
|
|
if [ $VERSION ]; then
|
|
|
|
if [ $VERSION ]; then
|
|
|
|
echo "Useing version: $VERSION from Manual"
|
|
|
|
echo "Useing version: $VERSION from Manual"
|
|
|
|
elif [ "$PLEXPASS" == "1" ]; then
|
|
|
|
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"
|
|
|
|
echo "Useing version: $VERSION from Plexpass latest"
|
|
|
|
else
|
|
|
|
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"
|
|
|
|
echo "Useing version: $VERSION from Public latest"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if [ "$VERSION" == "$INSTALLED" ]; then
|
|
|
|
if [ "$VERSION" == "$INSTALLED" ]; then
|
|
|
|