Auto clean packages after upgrade.
This commit is contained in:
parent
31fe4060ef
commit
2d20de5a4d
@ -65,7 +65,7 @@ function upgrade() {
|
||||
if [ $(uname -s) != "Darwin" ]; then
|
||||
case $(lsb_release -si) in
|
||||
Gentoo) eix-sync && eix-update && emerge -avuNDU @world ;;
|
||||
VoidLinux) xbps-install -Su && xbps-remove -RoO && xlocate -S ;;
|
||||
VoidLinux) xbps-install -Su && xbps-remove -RoO && xlocate -S && du -sh /var/cache/xbps && rm -rf /var/cache/xbps/* ;;
|
||||
esac
|
||||
else
|
||||
brew update && brew upgrade && brew cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user