From 906590d7fb567a0d90ca3868f400ebe241984137 Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Fri, 28 Aug 2015 13:21:37 +0200 Subject: [PATCH] Formating error --- init/20_update_plex.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/20_update_plex.sh b/init/20_update_plex.sh index 0406272..05f22ea 100644 --- a/init/20_update_plex.sh +++ b/init/20_update_plex.sh @@ -18,9 +18,9 @@ else fi last=130 -if [[ ! "$VERSION" == "$INSTALLED "]]; then +if [[ ! "$VERSION" == "$INSTALLED " ]]; then echo "Upgradeing from version: $INSTALLED to version: $VERSION" - while [ last -ne "0"]; do + while [[ $last -ne "0" ]]; do rm -f /tmp/plexmediaserver_*.deb wget -P /tmp "http://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" last=$?