Smal fix to readme and hopefully better check for plexpass

This commit is contained in:
Stian Buch Larsen 2015-05-26 12:26:09 +02:00
parent bb291c52e6
commit 3b0da73941
2 changed files with 4 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
INSTALLED=`dpkg-query -W -f='${Version}' plexmediaserver`
if [ -z "$PLEXPASS" ]; then
if [ "$PLEXPASS" -eq "1" ]; then
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/public)
else
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/plexpass)