From 0f08c6d56ef04949c049b01c6f0a8805585efd75 Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Wed, 30 Mar 2016 11:01:10 +0200 Subject: [PATCH] Fix for version detector --- init/30_update_plex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/30_update_plex.sh b/init/30_update_plex.sh index e51a6b3..737b8aa 100644 --- a/init/30_update_plex.sh +++ b/init/30_update_plex.sh @@ -23,7 +23,7 @@ if [[ -z $VERSION && "$PLEXPASS" == "1" || $VERSION = "plexpass" ]]; then echo " #Start update rutine -if [ "$VERSION" = latest || "$VERSION" = plexpass ]; then +if [[] "$VERSION" = latest || "$VERSION" = plexpass ]]; then VERSION=$PLEX_LATEST echo "Target version: $VERSION set by: latest\plexpass" else