Clean android sdk, julia and lein

Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
This commit is contained in:
rokibhasansagar 2021-01-04 01:36:57 +06:00
parent c27b7aab9d
commit 303e27bad7
No known key found for this signature in database
GPG key ID: 2A43163956D6C2A7

View file

@ -148,12 +148,23 @@ sudo -E apt-get -qq -y remove --purge \
vim-runtime \
zulu*
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d 2>/dev/null
sudo rm -rf -- /opt/hostedtoolcache/* ~/.julia ~/miniconda 2>/dev/null
printf "Removing Homebrew...\n"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"
sudo rm -rf -- \
/usr/share/dotnet \
/etc/mysql \
/etc/php \
/etc/apt/sources.list.d \
2>/dev/null
sudo rm -rf -- \
/opt/hostedtoolcache/* \
/usr/local/julia* \
/usr/local/lib/android \
/usr/local/lib/lein /usr/local/bin/lein \
/home/linuxbrew \
2>/dev/null
printf "Clearing Dangling Remains...\n"
sudo -E apt-get -q -y clean && sudo -E apt-get -q -y autoremove