Added alternative for VERSION not being set.

pull/32/head
Stian Buch Larsen 9 years ago
parent 84ecc64b8f
commit 62e4ee2372

@ -26,6 +26,7 @@ if [[ -z $VERSION && "$PLEXPASS" == "1" || $VERSION = "plexpass" ]]; then echo "
if [[ "$VERSION" = latest || "$VERSION" = plexpass ]]; then if [[ "$VERSION" = latest || "$VERSION" = plexpass ]]; then
VERSION=$PLEX_LATEST VERSION=$PLEX_LATEST
echo "Target version: $VERSION set by: latest\plexpass" echo "Target version: $VERSION set by: latest\plexpass"
elif [[ -z "$VERSION" ]]; then
else else
echo "Target version: $VERSION set by: manually" echo "Target version: $VERSION set by: manually"
fi fi

Loading…
Cancel
Save