Updated for new packages

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-05-08 16:52:39 +03:00
parent 31f372a4a0
commit 6c06230491

View file

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