diff --git a/bin/install b/bin/install index 17710cd..b018487 100755 --- a/bin/install +++ b/bin/install @@ -16,7 +16,7 @@ _get_arch() { local arch; arch=$(uname -m) case $arch in armv*) arch="armv6hf";; - aarch64) arch="aarch64";; + aarch64 | arm64) arch="aarch64";; x86_64) arch="x86_64";; esac echo "$arch" @@ -48,8 +48,6 @@ install() { local -r version_parts=(${version//./ }) if [ "${version_parts[0]}" -eq 0 ] && [ "${version_parts[1]}" -lt 10 ]; then test "$platform" == "darwin" && arch="x86_64" - else - test "$platform" == "darwin" && arch="aarch64" fi local -r download_url="$(_get_download_url "${version}" "${platform}" "${arch}")"