Updated for same packages

This commit is contained in:
Dimitris Zlatanidis 2024-04-11 11:51:00 +03:00
parent 12f4383572
commit 41a2fb415d

View file

@ -44,8 +44,13 @@ class Upgrade(Configs):
for name, package in installed.items(): for name, package in installed.items():
tag: str = self.utils.split_package(package)['tag'] tag: str = self.utils.split_package(package)['tag']
if not tag:
if not tag and name not in extra_repo.keys(): if extra_repo.get(name):
extra_package: str = extra_repo[name]['package']
if extra_package[:-4] != package:
self.installed_packages.append(Path(package))
self.installed_names.append(name)
else:
self.installed_packages.append(Path(package)) self.installed_packages.append(Path(package))
self.installed_names.append(name) self.installed_names.append(name)
else: else: