mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Fixed dependencies order
This commit is contained in:
parent
acd682ed21
commit
52bac3057d
1 changed files with 1 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue