mirror of https://github.com/CISOfy/lynis.git
Allow x.y.z for macOS versions
This commit is contained in:
parent
26489d03e9
commit
9c6864589b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue