Revert "Fix arch detection on macos"

This reverts commit dbadcf1858.
This commit is contained in:
Julian Ospald 2021-12-01 20:54:44 +01:00
parent 82a22fe993
commit c97ade81fa
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F
1 changed files with 1 additions and 3 deletions

View File

@ -240,9 +240,7 @@ download_ghcup() {
_url=${base_url}/${ghver}/x86_64-freebsd${freebsd_ver}-ghcup-${ghver}
;;
"Darwin"|"darwin")
# uname -m and arch seem to behave different under rosetta
# https://superuser.com/questions/835514/why-do-uname-p-and-uname-m-and-arch-output-different-architectures
case "$(arch)" in
case "${arch}" in
x86_64|amd64)
_url=${base_url}/${ghver}/x86_64-apple-darwin-ghcup-${ghver}
;;