Skip to content

Commit

Permalink
fixup! fixup! Support FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaov committed Apr 29, 2024
1 parent d5da31d commit a650074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;;
Expand Down

0 comments on commit a650074

Please sign in to comment.