From 9961f58bca197bd4412b250495e082201765f457 Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Thu, 10 Nov 2022 20:15:28 -0500 Subject: [PATCH] Fix i686/x86 mismatch for 32-bit systems. Fixes #255 --- plexupdate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index 1c6851f..382081b 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -53,8 +53,9 @@ AUTODELETE=no AUTOUPDATE=no AUTOSTART=no ARCH=$(uname -m) -# patch for Raspberry Pi reporting as armv7l, whereas Plex only offers armv7neon +# manual fix for mismatch between Plex arch values and uname -m values [ "$ARCH" = "armv7l" ] && ARCH="armv7neon" +[ "$ARCH" = "i686" ] && ARCH="x86" BUILD="linux-$ARCH" SHOWPROGRESS=no WGETOPTIONS="" # extra options for wget. Used for progress bar.