[macOS] Delete more software from Big Sur (#9488)

This commit is contained in:
Mikhail Koliada
2024-03-14 15:39:16 +01:00
committed by GitHub
parent 6751b1a8d6
commit 8f3745bf87
10 changed files with 40 additions and 26 deletions

View File

@@ -10,9 +10,11 @@ echo "Installing aws..."
awscliv2_pkg_path=$(download_with_retry "https://awscli.amazonaws.com/AWSCLIV2.pkg")
sudo installer -pkg "$awscliv2_pkg_path" -target /
echo "Installing aws sam cli..."
brew tap aws/tap
brew_smart_install aws-sam-cli
if ! is_BigSur; then
echo "Installing aws sam cli..."
brew tap aws/tap
brew_smart_install aws-sam-cli
fi
echo "Install aws cli session manager"
brew install --cask session-manager-plugin

View File

@@ -95,8 +95,10 @@ if is_Monterey; then
echo "export PARALLELS_DMG_URL=$url" >> ${HOME}/.bashrc
fi
# Install Azure DevOps extension for Azure Command Line Interface
az extension add -n azure-devops
if ! is_BigSur; then
# Install Azure DevOps extension for Azure Command Line Interface
az extension add -n azure-devops
fi
# Invoke tests for all basic tools
invoke_tests "BasicTools"

View File

@@ -11,13 +11,16 @@ brew_smart_install "git"
git config --global --add safe.directory "*"
echo "Installing Git LFS"
brew_smart_install "git-lfs"
# Update global git config
git lfs install
# Update system git config
sudo git lfs install --system
if ! is_BigSur; then
echo "Installing Git LFS"
brew_smart_install "git-lfs"
# Update global git config
git lfs install
# Update system git config
sudo git lfs install --system
fi
echo "Disable all the Git help messages..."
git config --global advice.pushUpdateRejected false