From c6196ee0a5596480cd76440dd1ad10177bf1e775 Mon Sep 17 00:00:00 2001 From: Rokib Hasan Sagar Date: Sat, 30 Jan 2021 20:10:30 +0600 Subject: [PATCH] Update cleanup.sh - Remove /opt/az - Cleanup python runtime cache Signed-off-by: rokibhasansagar --- cleanup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cleanup.sh b/cleanup.sh index c6b6688..423c9af 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -161,10 +161,12 @@ sudo npm list -g --depth=0. 2>/dev/null | awk -F ' ' '{print $2}' | awk -F '@[0- sudo rm -rf -- /usr/local/lib/node_modules /usr/local/n &>/dev/null pipx uninstall-all &>/dev/null pip freeze --local | xargs sudo pip uninstall -y &>/dev/null +find /usr/share /usr/lib /snap ~/.local/lib -depth -type d -name __pycache__ -exec rm -rf '{}' + 2>/dev/null; &>/dev/null sudo rm -rf -- \ /usr/local/bin/aws /usr/local/bin/aws_completer /usr/local/aws-cli \ /usr/share/az_* \ + /opt/az \ /usr/share/dotnet \ /usr/local/graalvm \ /etc/mysql \