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:
parent
12f4383572
commit
41a2fb415d
1 changed files with 9 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue