mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Fix for remove
This commit is contained in:
parent
691b615edf
commit
6796f1bcf4
1 changed files with 8 additions and 8 deletions
|
@ -45,15 +45,15 @@ class RemovePackages(Configs):
|
|||
if upgrade:
|
||||
self.packages: list = self.choose_packages_for_remove(self.packages, upgrade)
|
||||
|
||||
self.add_packages_for_remove()
|
||||
self.remove_doubles_dependencies()
|
||||
self.dependencies: list = self.choose_packages_for_remove(self.dependencies)
|
||||
self.add_installed_dependencies_to_remove()
|
||||
|
||||
self.view.remove_packages(self.packages, self.dependencies)
|
||||
self.found_dependent()
|
||||
|
||||
if self.packages:
|
||||
self.add_packages_for_remove()
|
||||
self.remove_doubles_dependencies()
|
||||
self.dependencies: list = self.choose_packages_for_remove(self.dependencies)
|
||||
self.add_installed_dependencies_to_remove()
|
||||
|
||||
self.view.remove_packages(self.packages, self.dependencies)
|
||||
self.found_dependent()
|
||||
|
||||
answer: str = 'y'
|
||||
if upgrade:
|
||||
answer: str = self.remove_question()
|
||||
|
|
Loading…
Add table
Reference in a new issue