cvw/.github/cli-space-cleanup.sh

10 lines
357 B
Bash
Raw Normal View History

2024-07-17 07:17:07 +00:00
#!/bin/bash
removePacks=( '^llvm-.*' 'php.*' '^mongodb-.*' '^mysql-.*' '^dotnet-sdk-.*' 'azure-cli' 'google-cloud-cli' 'google-chrome-stable' 'firefox' 'powershell*' 'microsoft-edge-stable' 'mono-devel' )
for pack in "${removePacks[@]}"; do
echo "REMOVING ${pack}"
sudo apt-get purge -y $pack || true
done
sudo apt-get autoremove -y
sudo apt-get clean