mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Add comments
This commit is contained in:
parent
41a2fb415d
commit
76128d816f
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ class Upgrade(Configs):
|
|||
|
||||
for name, package in installed.items():
|
||||
tag: str = self.utils.split_package(package)['tag']
|
||||
if not tag:
|
||||
if extra_repo.get(name):
|
||||
if not tag: # Add only slackware original packages that have not tag.
|
||||
if extra_repo.get(name): # Avoid installed packages from extra repository.
|
||||
extra_package: str = extra_repo[name]['package']
|
||||
if extra_package[:-4] != package:
|
||||
self.installed_packages.append(Path(package))
|
||||
|
|
Loading…
Add table
Reference in a new issue