mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
Fixed arguments
This commit is contained in:
parent
ae18608e83
commit
0fb7046732
2 changed files with 4 additions and 2 deletions
|
@ -43,7 +43,8 @@ class Check(Configs, Utilities):
|
|||
found, not_found = [], []
|
||||
|
||||
for sbo in slackbuilds:
|
||||
package = self.is_installed(sbo)
|
||||
pattern = f'*{self.sbo_repo_tag}'
|
||||
package = self.is_installed(sbo, pattern)
|
||||
if package:
|
||||
pkg = self.split_installed_pkg(package)[0]
|
||||
found.append(pkg)
|
||||
|
|
|
@ -91,7 +91,8 @@ class Utilities:
|
|||
|
||||
def is_repo_version_bigger(self, package: str) -> bool:
|
||||
""" Compare two versions. """
|
||||
installed = self.is_installed(package)
|
||||
pattern = f'*{self.configs.sbo_repo_tag}'
|
||||
installed = self.is_installed(package, pattern)
|
||||
if installed:
|
||||
installed_version = self.split_installed_pkg(installed)[1]
|
||||
repository_version = SBoQueries(package).version()
|
||||
|
|
Loading…
Reference in a new issue