mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for retrieving
This commit is contained in:
parent
d20dc910d1
commit
f345d83396
1 changed files with 0 additions and 2 deletions
|
@ -45,7 +45,6 @@ class Upgrade(Configs):
|
|||
|
||||
def packages(self) -> Generator:
|
||||
""" Returns the upgradable packages. """
|
||||
print('\rRetrieving packages... ', end='')
|
||||
self.load_installed_packages()
|
||||
|
||||
for inst in self.installed_packages:
|
||||
|
@ -62,7 +61,6 @@ class Upgrade(Configs):
|
|||
# if not self.utils.is_package_installed(name):
|
||||
if name not in self.installed_names:
|
||||
yield name
|
||||
print(f'{self.bgreen}{self.ascii.done}{self.endc}')
|
||||
|
||||
def is_package_upgradeable(self, installed: str) -> bool:
|
||||
inst_name: str = self.utils.split_package(installed)['name']
|
||||
|
|
Loading…
Add table
Reference in a new issue