Add comments

This commit is contained in:
Dimitris Zlatanidis 2024-04-11 12:17:07 +03:00
parent 41a2fb415d
commit 76128d816f

View file

@ -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))