From db8f406d69ba36e64f142d7767cb11e48d6f294e Mon Sep 17 00:00:00 2001 From: Jordan Webb Date: Thu, 7 Mar 2024 16:53:25 -0600 Subject: [PATCH] Rewrite arch to aarch64 when it is arm64 to match upstream URLS --- lib/utils.bash | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/utils.bash b/lib/utils.bash index 776df7e..d33bedf 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -63,6 +63,13 @@ download_release() { get_arch() { arch=$(uname -m | tr '[:upper:]' '[:lower:]') + # releases use "aarch64" instead of "arm64" + case $arch in + arm64) + arch='aarch64' + ;; + esac + echo "$arch" }