Last active
June 23, 2020 17:13
-
-
Save aanklewicz/ee0f2c0e16a43053a748874653004b7e to your computer and use it in GitHub Desktop.
Checks to see if your mac is compatible with macOS 11 Big Sur
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model=$(sysctl hw.model) | |
if echo $model | grep -Ei "(MacBookAir[6-9]|MacBookPro1[0-6]|MacPro[6-7]|MacBook(10|9|8)|Macmini[7-8]|MacPro[6-7]|iMacPro1),\d|iMac1(4,4|[5-9],\d)" ; then | |
echo "macOS 11 Compatible" | |
else | |
echo "macOS 11 Incompatible" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment