diff --git a/slpkg/slackbuild.py b/slpkg/slackbuild.py index 0a52f554..9cd09374 100644 --- a/slpkg/slackbuild.py +++ b/slpkg/slackbuild.py @@ -71,13 +71,12 @@ class Slackbuilds: """ List with the dependencies. """ for deps in self.sbos.values(): for dep in deps: - # Checks if the package was installed and skipped. if ('--skip-installed' in self.flags and self.utils.is_installed(dep)): continue - if dep not in self.sbos.values(): + if dep not in self.sbos.values() and dep not in self.sbos.keys(): self.dependencies.append(dep) # Remove duplicate packages and keeps the order.