mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated for upgrade
This commit is contained in:
parent
e81ec798ee
commit
d3257bbef8
1 changed files with 1 additions and 1 deletions
|
@ -30,6 +30,7 @@ class Choose(Configs):
|
|||
if method in ('remove', 'find'):
|
||||
self.choose_from_installed(packages)
|
||||
elif method == 'upgrade':
|
||||
title: str = f' Choose packages you want to {method} or add '
|
||||
self.choose_for_upgraded(data, packages)
|
||||
else:
|
||||
self.choose_for_others(data, packages)
|
||||
|
@ -63,7 +64,6 @@ class Choose(Configs):
|
|||
def choose_for_upgraded(self, data: dict, packages: list):
|
||||
""" Choose packages that they will going to upgrade. """
|
||||
for package in packages:
|
||||
# for package in data.keys():
|
||||
|
||||
if package in data.keys():
|
||||
inst_package: str = self.utils.is_package_installed(package)
|
||||
|
|
Loading…
Add table
Reference in a new issue