mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
BugFix: SBo installation order
This commit is contained in:
parent
370549f54c
commit
38b2d7c1f0
1 changed files with 4 additions and 2 deletions
|
@ -136,7 +136,9 @@ class SBoInstall(object):
|
|||
def update_deps(self):
|
||||
"""Update dependencies dictionary with all package
|
||||
"""
|
||||
for dep in self.one_for_all(self.deps):
|
||||
onelist = Utils().dimensional_list(self.deps)
|
||||
dependencies = Utils().remove_dbs(onelist)
|
||||
for dep in dependencies:
|
||||
deps = Requires(self.flag).sbo(dep)
|
||||
self.deps_dict[dep] = self.one_for_all(deps)
|
||||
|
||||
|
@ -191,9 +193,9 @@ class SBoInstall(object):
|
|||
"""
|
||||
requires, dependencies = [], []
|
||||
deps.reverse()
|
||||
requires = Utils().dimensional_list(deps)
|
||||
# Inverting the list brings the
|
||||
# dependencies in order to be installed.
|
||||
requires = Utils().dimensional_list(deps)
|
||||
dependencies = Utils().remove_dbs(requires)
|
||||
return dependencies
|
||||
|
||||
|
|
Loading…
Reference in a new issue