diff --git a/prysm.sh b/prysm.sh index de57fa97c..8ab5d8af0 100755 --- a/prysm.sh +++ b/prysm.sh @@ -75,14 +75,11 @@ fi readonly wrapper_dir="$(dirname "$(get_realpath "${BASH_SOURCE[0]}")")/dist" -# for Apple M1s -if [ "$(uname -s)" == "Darwin" ] && [ "$(uname -m)" == "arm64" ]; then - arch="amd64" -else - arch=$(uname -m) - arch=${arch/x86_64/amd64} - arch=${arch/aarch64/arm64} -fi + +arch=$(uname -m) +arch=${arch/x86_64/amd64} +arch=${arch/aarch64/arm64} + readonly os_arch_suffix="$(uname -s | tr '[:upper:]' '[:lower:]')-$arch" system=""