From bd061d7ef4067d5e12108134805b7704a3ba5e7a Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Sat, 25 Feb 2017 21:57:01 -0800 Subject: [PATCH] Verify plex.tv is providing a checksum before downloading --- plexupdate.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plexupdate.sh b/plexupdate.sh index 9c37781..489a08e 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -395,6 +395,9 @@ if [ -z "${DOWNLOAD}" ]; then error "Please try https://plex.tv and confirm it works there before reporting this issue" fi exit 3 +elif [ -z "${CHECKSUM}" ]; then + error "Unable to retrieve a checksum for the download. Please try https://plex.tv/downloads before reporting this issue." + exit 3 fi FILENAME="$(basename 2>/dev/null ${DOWNLOAD})"