[scripts] clean more Entropy cache directories
This commit is contained in:
parent
1c391aaf7b
commit
338383796f
@ -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
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user