mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Fixed for check
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
1b3bcf96ba
commit
f2931991aa
1 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ class Upgrade(Configs): # pylint: disable=[R0902]
|
|||
'type': 'upgrade'
|
||||
}
|
||||
|
||||
if repo == self.repos.slack_repo_name and self.removed_packages:
|
||||
if repo in self.repos.remove_packages:
|
||||
tag: str = self.utils.split_package(installed.name)['tag']
|
||||
if not tag and name not in data.keys():
|
||||
self.id += 1
|
||||
|
@ -208,7 +208,7 @@ class Upgrade(Configs): # pylint: disable=[R0902]
|
|||
'type': 'remove'
|
||||
}
|
||||
|
||||
if repo == self.repos.slack_repo_name and self.new_packages:
|
||||
if repo in self.repos.new_packages:
|
||||
for name in data.keys():
|
||||
# if not self.utils.is_package_installed(name):
|
||||
if name not in self.installed_names:
|
||||
|
|
Loading…
Reference in a new issue