myhome/.local/bin/cleaner
2020-05-09 13:43:39 +02:00

16 lines
380 B
Bash
Executable File

#!/bin/bash
sudo rm -rf /var/tmp/portage/*
sudo rm -rf /var/tmp/binpkgs/*
sudo rm -rf /var/tmp/genkernel/*
sudo rm -rf /tmp/*
sudo rm -rf /var/cache/genkernel/*
sudo emerge -a --depclean
sudo emerge -a @preserved-rebuild
sudo eclean -C -q packages
sudo eclean -C -q -d -t1w distfiles
sudo revdep-rebuild
sudo perl-cleaner --all
sudo etc-update
sudo env-update
source /etc/profile