Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Lackner <lackner.alex@gmail.com>2021-06-15 21:49:00 +0300
committerAlexander Lackner <lackner.alex@gmail.com>2021-06-15 21:49:00 +0300
commitfff5df170e00380e1882ca10a4dd00e0c1ada640 (patch)
tree63c100edef50f22af54c9179383ef80fde89610f /include/osdetection
parent9070bc4ea6616ab21ad626f460c5f0ccc849fa51 (diff)
Fix Big Sur Detection and add macOS Monterey
Diffstat (limited to 'include/osdetection')
-rw-r--r--include/osdetection3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osdetection b/include/osdetection
index 7b1e911c..ef6cd240 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -62,7 +62,8 @@
10.13 | 10.13.[0-9]*) OS_FULLNAME="macOS High Sierra (${OS_VERSION})" ;;
10.14 | 10.14.[0-9]*) OS_FULLNAME="macOS Mojave (${OS_VERSION})" ;;
10.15 | 10.15.[0-9]*) OS_FULLNAME="macOS Catalina (${OS_VERSION})" ;;
- 11.0 | 11.0[0-9]*) OS_FULLNAME="macOS Big Sur (${OS_VERSION})" ;;
+ 11 | 11.[0-9]*) OS_FULLNAME="macOS Big Sur (${OS_VERSION})" ;;
+ 12 | 12.[0-9]*) OS_FULLNAME="macOS Monterey (${OS_VERSION})" ;;
*) echo "Unknown macOS version. Do you know what version it is? Create an issue at ${PROGRAM_SOURCE}" ;;
esac
else