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: