Use FreeBSD 13 in bootstrap script as well

This commit is contained in:
Julian Ospald 2021-12-02 17:48:56 +01:00
parent c99ecc0a66
commit 834bcfa02c
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -222,8 +222,7 @@ 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
# TODO: missing FreeBSD13 version freebsd_ver=13
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