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)