mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-19 10:27:07 +01:00
Fixed for remove deps
This commit is contained in:
parent
c2ab5ed142
commit
29ce34b09b
1 changed files with 4 additions and 2 deletions
|
@ -171,11 +171,13 @@ class ViewMessage(Configs):
|
|||
|
||||
for package in dependencies:
|
||||
repo_ver: str = SBoQueries(package).version()
|
||||
choices += [(package, repo_ver, True)]
|
||||
inst_pkg: str = self.utils.is_package_installed(package, self.file_pattern)
|
||||
choices += [(package, repo_ver, True, f'Removed: {inst_pkg}')]
|
||||
|
||||
text: str = f'There are {len(choices)} dependencies:'
|
||||
|
||||
code, tags = self.dialogbox.checklist(text, title, height, width, list_height, choices, dependencies)
|
||||
code, tags = self.dialogbox.checklist(text, dependencies, title, height, width, list_height,
|
||||
choices, True)
|
||||
|
||||
if not code:
|
||||
return dependencies
|
||||
|
|
Loading…
Reference in a new issue