diff --git a/packcheck.sh b/packcheck.sh index e44be50..1524964 100755 --- a/packcheck.sh +++ b/packcheck.sh @@ -909,8 +909,8 @@ ghcup_install() { # Determine GHCUP_ARCH os=$(uname -s -m) case "$os" in - "Linux x86_64"|"FreeBSD x86_64") GHCUP_ARCH="x86_64-linux" ;; - "Linux amd64"|"FreeBSD amd64") GHCUP_ARCH="aarch64-linux" ;; + "Linux x86_64") GHCUP_ARCH="x86_64-linux" ;; + "FreeBSD x86_64" | "FreeBSD amd64") GHCUP_ARCH=x86_64-portbld-freebsd "Darwin x86_64") GHCUP_ARCH="x86_64-apple-darwin" ;; "Darwin arm64") GHCUP_ARCH="aarch64-apple-darwin" ;; *) echo "Unknown OS/Arch: $os"; exit 1;;