From ae5da8f32598c12c70b29a0e4c682c48bc8ca9ac Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Wed, 30 Mar 2016 09:52:41 +0200 Subject: [PATCH] Depricateing the Envoriment setting PLEXPASS --- init/30_update_plex.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/init/30_update_plex.sh b/init/30_update_plex.sh index fa8594d..4a6a8e3 100644 --- a/init/30_update_plex.sh +++ b/init/30_update_plex.sh @@ -13,11 +13,10 @@ INSTALLED=$(dpkg-query -W -f='${Version}' plexmediaserver) [ "$PLEXPASS" ] && echo "PLEXPASS is deprecated, please use VERSION" if [[ -z $VERSION && "$PLEXPASS" == "1" || $VERSION = "plexpass" ]]; then - VERSION=$(curl -s https://tools.linuxserver.io/latest-plexpass.json | grep "version" | cut -d '"' -f 4) - echo "Using version: $VERSION from Plexpass latest" + echo "Usage of VERSION=PLEXPASS is depricated. latest\plexpass is automatic based upon your plex account." elif [[ $VERSION = "latest" || -z $VERSION ]]; then VERSION=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "version" | cut -d '"' -f 4) - echo "Using version: $VERSION from Public latest" + echo "Using version: $VERSION from latest" else echo "Using version: $VERSION from Manual" fi