diff --git a/distribution/install.sh b/distribution/install.sh index 6a5bab07df87d..22aad7795b922 100755 --- a/distribution/install.sh +++ b/distribution/install.sh @@ -147,22 +147,15 @@ install_from_archive() { x86_64-apple-darwin) _archive_arch=$_arch ;; + aarch64-apple-darwin) + _archive_arch="arm64-apple-darwin" + ;; x86_64-*linux*-gnu) _archive_arch="x86_64-unknown-linux-gnu" ;; x86_64-*linux*-musl) _archive_arch="x86_64-unknown-linux-musl" ;; - aarch64-apple-darwin) - # This if statement can be removed when Vector publishes aarch64-apple-darwin builds - if /usr/bin/pgrep oahd >/dev/null 2>&1; then - echo "Rosetta is installed, installing x86_64-apple-darwin archive" - _archive_arch="x86_64-apple-darwin" - else - echo "Builds for Apple Silicon are not published today, please install Rosetta" - err "unsupported arch: $_arch" - fi - ;; aarch64-*linux*) _archive_arch="aarch64-unknown-linux-musl" ;;