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