[macOS] Remove macOS 10.13 related code in the VE repo (#4494)

This commit is contained in:
Dibir Magomedsaygitov
2021-11-18 17:23:05 +03:00
committed by GitHub
parent bebaaa653c
commit 5ab1cb345e
19 changed files with 54 additions and 979 deletions

View File

@@ -71,16 +71,8 @@ is_Mojave() {
fi
}
is_HighSierra() {
if [ "$OSTYPE" = "darwin17" ]; then
true
else
false
fi
}
is_Less_Catalina() {
if is_HighSierra || is_Mojave; then
if is_Mojave; then
true
else
false
@@ -88,7 +80,7 @@ is_Less_Catalina() {
}
is_Less_BigSur() {
if is_HighSierra || is_Mojave || is_Catalina; then
if is_Mojave || is_Catalina; then
true
else
false
@@ -96,7 +88,7 @@ is_Less_BigSur() {
}
is_Less_Monterey() {
if is_HighSierra || is_Mojave || is_Catalina || is_BigSur; then
if is_Mojave || is_Catalina || is_BigSur; then
true
else
false
@@ -132,9 +124,7 @@ brew_cask_install_ignoring_sha256() {
}
get_brew_os_keyword() {
if is_HighSierra; then
echo "high_sierra"
elif is_Mojave; then
if is_Mojave; then
echo "mojave"
elif is_Catalina; then
echo "catalina"