From a65007427c51a510766be07503003c8036fb3852 Mon Sep 17 00:00:00 2001 From: Adithya Kumar Date: Tue, 30 Apr 2024 01:53:31 +0530 Subject: [PATCH] fixup! fixup! Support FreeBSD --- packcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;;