Update install.sh, avoid ARCH: unbound variable

This commit is contained in:
Victor Vieux 2023-10-16 14:40:24 -07:00 committed by GitHub
parent 68d7255bd3
commit 6481b7f34c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,8 @@ require() {
[ "$(uname -s)" = "Linux" ] || error 'This script is intended to run on Linux only.'
case "$(uname -m)" in
ARCH=$(uname -m)
case "$ARCH" in
x86_64) ARCH="amd64" ;;
aarch64|arm64) ARCH="arm64" ;;
*) error "Unsupported architecture: $ARCH" ;;