diff --git a/slpkg/sbo/slackbuild.py b/slpkg/sbo/slackbuild.py index 8c0c8ab4..3e831a65 100644 --- a/slpkg/sbo/slackbuild.py +++ b/slpkg/sbo/slackbuild.py @@ -136,6 +136,7 @@ class SBoInstall(object): def update_deps(self): """Update dependencies dictionary with all package """ + onelist, dependencies = [], [] onelist = Utils().dimensional_list(self.deps) dependencies = Utils().remove_dbs(onelist) for dep in dependencies: diff --git a/slpkg/tracking.py b/slpkg/tracking.py index 232b30aa..02235873 100644 --- a/slpkg/tracking.py +++ b/slpkg/tracking.py @@ -65,8 +65,8 @@ class TrackingDeps(object): Msg().resolving() self.repositories() if self.find_pkg: + self.dependencies_list.reverse() self.requires = Utils().dimensional_list(self.dependencies_list) - self.requires.reverse() self.dependencies = Utils().remove_dbs(self.requires) if self.dependencies == []: self.dependencies = ["No dependencies"]