From 62e4ee23722cfbb31ac9ac9c7df172e34312e6b9 Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Thu, 7 Apr 2016 08:51:10 +0200 Subject: [PATCH] Added alternative for VERSION not being set. --- init/30_update_plex.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/init/30_update_plex.sh b/init/30_update_plex.sh index 33d70e0..1dc209d 100644 --- a/init/30_update_plex.sh +++ b/init/30_update_plex.sh @@ -26,6 +26,7 @@ if [[ -z $VERSION && "$PLEXPASS" == "1" || $VERSION = "plexpass" ]]; then echo " if [[ "$VERSION" = latest || "$VERSION" = plexpass ]]; then VERSION=$PLEX_LATEST echo "Target version: $VERSION set by: latest\plexpass" +elif [[ -z "$VERSION" ]]; then else echo "Target version: $VERSION set by: manually" fi