diff --git a/src/modules/packages/main.py b/src/modules/packages/main.py index 37cba19675fd70be571dcf62d6c0154cf57104a2..943b032cc35bbd032c093b0745ff8d08fdbc4dee 100644 --- a/src/modules/packages/main.py +++ b/src/modules/packages/main.py @@ -87,6 +87,7 @@ class PackageManager: check_target_env_call(["pacman", "-Rs", "--noconfirm"] + pkgs) elif self.backend == "portage": check_target_env_call(["emerge", "-C"] + pkgs) + check_target_env_call(["emerge", "--depclean", "-q"]) elif self.backend == "entropy": check_target_env_call(["equo", "rm"] + pkgs)