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