From 36f279b62335d159e1dc7b92b36aa10c411534c4 Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Date: Fri, 17 Dec 2021 11:40:04 +0300 Subject: [PATCH] Cleanup /root/.cache directory (#4761) --- images/linux/scripts/installers/cleanup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/images/linux/scripts/installers/cleanup.sh b/images/linux/scripts/installers/cleanup.sh index 93be919b..8120144f 100644 --- a/images/linux/scripts/installers/cleanup.sh +++ b/images/linux/scripts/installers/cleanup.sh @@ -7,6 +7,7 @@ before=$(df / -Pm | awk 'NR==2{print $4}') # It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial apt-get clean rm -rf /tmp/* +rm -rf /root/.cache # journalctl if command -v journalctl; then