mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Fix tracking installation order
This commit is contained in:
parent
2d140ba079
commit
1523a2623e
2 changed files with 2 additions and 1 deletions
|
@ -136,6 +136,7 @@ class SBoInstall(object):
|
||||||
def update_deps(self):
|
def update_deps(self):
|
||||||
"""Update dependencies dictionary with all package
|
"""Update dependencies dictionary with all package
|
||||||
"""
|
"""
|
||||||
|
onelist, dependencies = [], []
|
||||||
onelist = Utils().dimensional_list(self.deps)
|
onelist = Utils().dimensional_list(self.deps)
|
||||||
dependencies = Utils().remove_dbs(onelist)
|
dependencies = Utils().remove_dbs(onelist)
|
||||||
for dep in dependencies:
|
for dep in dependencies:
|
||||||
|
|
|
@ -65,8 +65,8 @@ class TrackingDeps(object):
|
||||||
Msg().resolving()
|
Msg().resolving()
|
||||||
self.repositories()
|
self.repositories()
|
||||||
if self.find_pkg:
|
if self.find_pkg:
|
||||||
|
self.dependencies_list.reverse()
|
||||||
self.requires = Utils().dimensional_list(self.dependencies_list)
|
self.requires = Utils().dimensional_list(self.dependencies_list)
|
||||||
self.requires.reverse()
|
|
||||||
self.dependencies = Utils().remove_dbs(self.requires)
|
self.dependencies = Utils().remove_dbs(self.requires)
|
||||||
if self.dependencies == []:
|
if self.dependencies == []:
|
||||||
self.dependencies = ["No dependencies"]
|
self.dependencies = ["No dependencies"]
|
||||||
|
|
Loading…
Reference in a new issue