1
0
Fork 0
mirror of https://gitlab.com/dslackw/slpkg.git synced 2025-01-15 03:41:16 +01:00

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():
tag: str = self.utils.split_package(package)['tag']
if not tag and name not in extra_repo.keys():
if not tag:
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_names.append(name)
else: