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.
This commit is contained in:
Henric Andersson 2017-02-02 12:44:24 -08:00
parent fdc24ff187
commit 2e26cd3dcc

View file

@ -531,6 +531,10 @@ CHECKSUM=$(echo ${RELEASE} | grep -ioe '\"checksum\"\:\"[^\"]*' | sed 's/\"check
if [ -z "${DOWNLOAD}" ]; then if [ -z "${DOWNLOAD}" ]; then
error "Unable to retrieve the URL needed for download (Query DISTRO: $DISTRO, BUILD: $BUILD)" 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 exit 3
fi fi