From fc5bc96b6922064253a38352e5e474f041e15ffe Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Mon, 20 Apr 2020 15:33:55 -0400 Subject: [PATCH] Generalize Raspberry Pi support to all "armv7l" architectures --- plexupdate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexupdate.sh b/plexupdate.sh index 266b945..0999a7a 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -53,8 +53,8 @@ AUTODELETE=no AUTOUPDATE=no AUTOSTART=no ARCH=$(uname -m) -# patch for Raspberry Pi 4 reporting as armv7l, whereas Plex only offers armv7hf_neon -cat /proc/cpuinfo | grep -q "Raspberry Pi 4" && ARCH=armv7hf_neon +# patch for Raspberry Pi reporting as armv7l, whereas Plex only offers armv7hf_neon +[ "$ARCH" = "armv7l" ] && ARCH="armv7hf_neon" BUILD="linux-$ARCH" SHOWPROGRESS=no WGETOPTIONS="" # extra options for wget. Used for progress bar.