Clean android sdk, julia and lein
Signed-off-by: rokibhasansagar <rokibhasansagar2014@outlook.com>
This commit is contained in:
parent
c27b7aab9d
commit
303e27bad7
1 changed files with 14 additions and 3 deletions
17
cleanup.sh
17
cleanup.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue