[scripts] clean more Entropy cache directories

This commit is contained in:
Fabio Erculiani 2012-06-03 12:35:22 +02:00
parent 1c391aaf7b
commit 338383796f
2 changed files with 5 additions and 0 deletions

View File

@ -163,11 +163,14 @@ rm -rf /var/tmp/entropy/*
rm -rf /var/lib/entropy/logs
rm -rf /var/lib/entropy/glsa
rm -rf /var/lib/entropy/tmp
rm -rf /var/lib/entropy/*cache*
# remove entropy hwhash
rm -f /etc/entropy/.hw.hash
# remove entropy pid file
rm -f /var/run/entropy/entropy.lock
rm -f /var/lib/entropy/entropy.pid
rm -f /var/lib/entropy/entropy.lock # old?
exit 0

View File

@ -248,6 +248,8 @@ setup_installed_packages() {
rm -rf /var/lib/entropy/*cache*
# remove entropy pid file
rm -f /var/run/entropy/entropy.lock
rm -f /var/lib/entropy/entropy.pid
rm -f /var/lib/entropy/entropy.lock
}
setup_portage() {