Fix boostrap-haskell on FreeBSD 13

This commit is contained in:
Julian Ospald 2021-11-30 19:00:33 +01:00
parent 17524b21b3
commit aac2874f8f
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -223,7 +223,8 @@ download_ghcup() {
if freebsd-version | grep -E '^12.*' ; then if freebsd-version | grep -E '^12.*' ; then
freebsd_ver=12 freebsd_ver=12
elif freebsd-version | grep -E '^13.*' ; then elif freebsd-version | grep -E '^13.*' ; then
freebsd_ver=13 # TODO: missing FreeBSD13 version
freebsd_ver=12
else else
die "Unsupported FreeBSD version! Please report a bug at https://gitlab.haskell.org/haskell/ghcup-hs/-/issues" die "Unsupported FreeBSD version! Please report a bug at https://gitlab.haskell.org/haskell/ghcup-hs/-/issues"
fi fi