Update 20_update_plex.sh

err backwards me.
This commit is contained in:
Stian Buch Larsen 2015-06-05 14:33:40 +02:00
parent 661a092159
commit 14016abd0d

View file

@ -2,9 +2,9 @@
export DEBIAN_FRONTEND=noninteractive
INSTALLED=`dpkg-query -W -f='${Version}' plexmediaserver`
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)
else
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/public)
fi
if [ "$VERSION" == "$INSTALLED" ]; then
exit 0;