From 483f9b06f7e17d742a04b0f5a74f42d8fbeb7486 Mon Sep 17 00:00:00 2001 From: Jon Date: Sun, 4 Jun 2017 21:49:02 -0400 Subject: [PATCH] Add error message specific to raspbian (#186) --- plexupdate.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index 5232aee..6a62b79 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -384,7 +384,11 @@ if [ "$VERBOSE" = "yes" ]; then fi if [ -z "${DOWNLOAD}" ]; then - error "Unable to retrieve the URL needed for download (Query DISTRO: $DISTRO, BUILD: $BUILD)" + if [ "$DISTRO" = "ubuntu" -a "$BUILD" = "linux-ubuntu-armv7l" ]; then + error "Plex Media Server on Raspbian is not officially supported and script cannot download a working package." + else + error "Unable to retrieve the URL needed for download (Query DISTRO: $DISTRO, BUILD: $BUILD)" + fi 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"