From 00993decb2a05c614b250a65fde6474c918ee992 Mon Sep 17 00:00:00 2001 From: Jon Shaulis Date: Sun, 4 Jun 2017 21:44:35 -0400 Subject: [PATCH] Add error message specific to raspbian --- 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"