Updated for added packages

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-08-19 19:18:59 +03:00
parent 2facafa4d7
commit 524252b2c9

View file

@ -91,8 +91,8 @@ class Upgrade(Configs): # pylint: disable=[R0902]
if self.repository in self.repos.new_packages:
for name in self.data.keys():
# if not self.utils.is_package_installed(name):
if name not in self.installed_names:
if not self.utils.is_package_installed(name):
# if name not in self.installed_names:
yield name
def is_package_upgradeable(self, installed: str) -> bool: # pylint: disable=[R0911]