From 6c062304918103a953c17dfa4f806989ae08f0ff Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 8 May 2024 16:52:39 +0300 Subject: [PATCH] Updated for new packages Signed-off-by: Dimitris Zlatanidis --- slpkg/upgrade.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slpkg/upgrade.py b/slpkg/upgrade.py index a168370c..5b4d94eb 100644 --- a/slpkg/upgrade.py +++ b/slpkg/upgrade.py @@ -85,11 +85,11 @@ class Upgrade(Configs): # pylint: disable=[R0902] if self.is_package_upgradeable(inst.name): yield name - if self.repository == self.repos.slack_repo_name and self.removed_packages: + if self.removed_packages: if name not in self.data.keys(): yield name + '_Removed.' - if self.repository == self.repos.slack_repo_name and self.new_packages: + if self.new_packages: for name in self.data.keys(): # if not self.utils.is_package_installed(name): if name not in self.installed_names: