Fixed for double packages with check

This commit is contained in:
Dimitris Zlatanidis 2024-04-09 21:40:45 +03:00
parent 6b12a16597
commit 5b3683b5a2

View file

@ -173,6 +173,7 @@ class Upgrade(Configs):
for name in 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):
self.id += 1
self.sum_added += 1
repo_version: str = data[name]['version']