From 303e27bad7b324f71f73042d05245dc87bd38a3b Mon Sep 17 00:00:00 2001 From: rokibhasansagar Date: Mon, 4 Jan 2021 01:36:57 +0600 Subject: [PATCH] Clean android sdk, julia and lein Signed-off-by: rokibhasansagar --- cleanup.sh | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/cleanup.sh b/cleanup.sh index 45ee4f4..75603b3 100755 --- a/cleanup.sh +++ b/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