Generalize Raspberry Pi support to all "armv7l" architectures

This commit is contained in:
Alex Malinovich 2020-04-20 15:33:55 -04:00 committed by GitHub
commit fc5bc96b69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.