fix macos big sur and monterey not showing codenames (#1815)

This commit is contained in:
Fritz Geib 2021-07-05 01:00:13 -04:00 committed by GitHub
parent e6499671c1
commit 095fd04094
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1150,8 +1150,8 @@ get_distro() {
10.14*) codename="macOS Mojave" ;;
10.15*) codename="macOS Catalina" ;;
10.16*) codename="macOS Big Sur" ;;
11.0*) codename="macOS Big Sur" ;;
12.0*) codename="macOS Monterey" ;;
11.*) codename="macOS Big Sur" ;;
12.*) codename="macOS Monterey" ;;
*) codename=macOS ;;
esac