Allow x.y.z for macOS versions

This commit is contained in:
Michael Boelen 2016-10-26 11:53:44 +02:00
parent 26489d03e9
commit 9c6864589b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
10.9) OS_FULLNAME="Mac OS X 10.9 (Mavericks)" ;;
10.10) OS_FULLNAME="Mac OS X 10.10 (Yosemite)" ;;
10.11) OS_FULLNAME="Mac OS X 10.11 (El Capitan)" ;;
10.12) OS_NAME="macOS"; OS_FULLNAME="10.12 (Sierra)" ;;
"10.12" | "10.12.[0-9]") OS_NAME="macOS"; OS_FULLNAME="macOS Sierra (${OS_VERSION})" ;;
*) echo "Unknown macOS version. Do you know what version it is? Create an issue at ${PROGRAM_SOURCE}" ;;
esac
else