[PR] #132 from OldWorldOrdr: Update macOS version name list

This commit is contained in:
Azalea 2023-06-05 13:11:01 -07:00 committed by GitHub
commit cdae93479f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1345,23 +1345,24 @@ get_distro() {
"Mac OS X"|"macOS") "Mac OS X"|"macOS")
case $osx_version in case $osx_version in
10.4*) codename="Mac OS X Tiger" ;; 10.4*) codename="Mac OS X Tiger" ;;
10.5*) codename="Mac OS X Leopard" ;; 10.5*) codename="Mac OS X Leopard" ;;
10.6*) codename="Mac OS X Snow Leopard" ;; 10.6*) codename="Mac OS X Snow Leopard" ;;
10.7*) codename="Mac OS X Lion" ;; 10.7*) codename="Mac OS X Lion" ;;
10.8*) codename="OS X Mountain Lion" ;; 10.8*) codename="OS X Mountain Lion" ;;
10.9*) codename="OS X Mavericks" ;; 10.9*) codename="OS X Mavericks" ;;
10.10*) codename="OS X Yosemite" ;; 10.10*) codename="OS X Yosemite" ;;
10.11*) codename="OS X El Capitan" ;; 10.11*) codename="OS X El Capitan" ;;
10.12*) codename="macOS Sierra" ;; 10.12*) codename="macOS Sierra" ;;
10.13*) codename="macOS High Sierra" ;; 10.13*) codename="macOS High Sierra" ;;
10.14*) codename="macOS Mojave" ;; 10.14*) codename="macOS Mojave" ;;
10.15*) codename="macOS Catalina" ;; 10.15*) codename="macOS Catalina" ;;
10.16*) codename="macOS Big Sur" ;; 10.16*) codename="macOS Big Sur" ;;
11.*) codename="macOS Big Sur" ;; 11.*) codename="macOS Big Sur" ;;
12.*) codename="macOS Monterey" ;; 12.*) codename="macOS Monterey" ;;
13.*) codename="macOS Ventura" ;; 13.*) codename="macOS Ventura" ;;
*) codename=macOS ;; 14.*) codename="macOS Sonoma" ;;
*) codename="macOS" ;;
esac esac
distro="$codename $osx_version ($osx_build)" distro="$codename $osx_version ($osx_build)"