Smal fix to readme and hopefully better check for plexpass
This commit is contained in:
parent
bb291c52e6
commit
3b0da73941
2 changed files with 4 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue