Fix shell script syntax errors

This commit is contained in:
Patrick Double 2015-06-30 11:48:46 -05:00
parent c49b39727d
commit 8eed8216b4
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
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)
else
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/public)