Fix i686/x86 mismatch for 32-bit systems. Fixes #255

This commit is contained in:
Alex Malinovich 2022-11-10 20:15:28 -05:00
parent 175886c615
commit 9961f58bca
No known key found for this signature in database
GPG key ID: CD9B291B4E28C1E0

View file

@ -53,8 +53,9 @@ AUTODELETE=no
AUTOUPDATE=no AUTOUPDATE=no
AUTOSTART=no AUTOSTART=no
ARCH=$(uname -m) 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" = "armv7l" ] && ARCH="armv7neon"
[ "$ARCH" = "i686" ] && ARCH="x86"
BUILD="linux-$ARCH" BUILD="linux-$ARCH"
SHOWPROGRESS=no SHOWPROGRESS=no
WGETOPTIONS="" # extra options for wget. Used for progress bar. WGETOPTIONS="" # extra options for wget. Used for progress bar.