Fix arm-ness

This commit is contained in:
Julian Ospald 2021-10-25 21:01:19 +02:00
parent 8e3c74958a
commit 219cba5fc7
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -201,10 +201,10 @@ download_ghcup() {
i*86)
_url=${base_url}/${ghver}/i386-linux-ghcup-${ghver}
;;
armv7*)
armv7*|*armv8l*)
_url=${base_url}/${ghver}/armv7-linux-ghcup-${ghver}
;;
aarch64|arm64|armv8l)
aarch64|arm64)
# we could be in a 32bit docker container, in which
# case uname doesn't give us what we want
if [ "$(getconf LONG_BIT)" = "32" ] ; then