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:
authorMichael Boelen <michael.boelen@cisofy.com>2021-07-20 22:07:11 +0300
committerGitHub <noreply@github.com>2021-07-20 22:07:11 +0300
commit93a681006f009ebea1add28cc70ff0768105badf (patch)
tree279f70c69fee77d029811f119b9b4ffc1bd2c083 /include/osdetection
parentdaa2b173cb9c740578e354b6c4db94c0231f9b3c (diff)
parentfff5df170e00380e1882ca10a4dd00e0c1ada640 (diff)
Merge pull request #1169 from al-lac/macos-detection
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 8377a1ae..60063dd1 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