From 57f3c1dca910c340694b4b3cbb7a510b752c9d4a Mon Sep 17 00:00:00 2001 From: Fabrice Laurens <33164641+f-laurens@users.noreply.github.com> Date: Sun, 20 Jun 2021 07:07:55 +0200 Subject: [PATCH] setup: Cleanup caches. (#281) --- setup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup b/setup index 601cdd20..2dce2637 100755 --- a/setup +++ b/setup @@ -142,5 +142,8 @@ echo "Cleaning up." # Cleanup any leftovers (from Kaldi install). sudo find / -xdev -name "._*" -exec rm {} \; sudo find / -xdev -user 501 -exec chown -h root:root {} \; +# Cleanup caches. +sudo rm -rf /root/.cache /root/.local /root/.wget-hsts +sudo rm -rf /home/pi/.cache /home/pi/.local /home/pi/.wget-hsts echo "Pynab setup done."