From 8be6761d1b58d368e3c18e490430a64c46b40462 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 23 Jan 2023 22:21:29 +0200 Subject: [PATCH] Updated for pattern --- slpkg/slackbuild.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slpkg/slackbuild.py b/slpkg/slackbuild.py index e9e3ba46..df12f548 100644 --- a/slpkg/slackbuild.py +++ b/slpkg/slackbuild.py @@ -81,12 +81,14 @@ class Slackbuilds(Configs): def creating_dependencies_for_build(self): """ List with the dependencies. """ + pattern = f'*{self.sbo_repo_tag}' + for deps in self.sbos.values(): for dep in deps: # Checks if the package was installed and skipped. if (self.flag_skip_installed in self.flags and - self.utils.is_installed(dep, pattern=f'*{self.sbo_repo_tag}')): + self.utils.is_installed(dep, pattern)): continue self.dependencies.append(dep)