Cleanup /root/.cache directory (#4761)

This commit is contained in:
Mikhail Timofeev
2021-12-17 11:40:04 +03:00
committed by GitHub
parent 34a2d68118
commit 36f279b623

View File

@@ -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