Update 20_update_plex.sh
err backwards me.
This commit is contained in:
parent
661a092159
commit
14016abd0d
1 changed files with 2 additions and 2 deletions
|
|
@ -2,9 +2,9 @@
|
||||||
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" -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)
|
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/plexpass)
|
||||||
|
else
|
||||||
|
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/public)
|
||||||
fi
|
fi
|
||||||
if [ "$VERSION" == "$INSTALLED" ]; then
|
if [ "$VERSION" == "$INSTALLED" ]; then
|
||||||
exit 0;
|
exit 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue