Merge pull request #250 from V3n3RiX/master

improve portage backend, so that properly removes reverse deps, whitout the need of HUGE package list in packages module configuration
This commit is contained in:
Teo Mrnjavac 2016-08-12 16:49:35 +02:00 committed by GitHub
commit 9dfaca175d

View File

@ -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)