From 2e26cd3dcca05511885986859b238889b94758ba Mon Sep 17 00:00:00 2001 From: Henric Andersson Date: Thu, 2 Feb 2017 12:44:24 -0800 Subject: [PATCH] Added some helpful messages when plex.tv has an issue We now tell the user to try plex.tv first if we were able to get the release info but it lacks a functional link. --- plexupdate.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plexupdate.sh b/plexupdate.sh index 6895e2d..45b2193 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -531,6 +531,10 @@ CHECKSUM=$(echo ${RELEASE} | grep -ioe '\"checksum\"\:\"[^\"]*' | sed 's/\"check if [ -z "${DOWNLOAD}" ]; then error "Unable to retrieve the URL needed for download (Query DISTRO: $DISTRO, BUILD: $BUILD)" + if [ ! -z "${RELEASE}" ]; then + error "It seems release info is missing a link" + error "Please try https://plex.tv and confirm it works there before reporting this issue" + fi exit 3 fi