From 1523a2623e7004f908f019b4438ac2840b271af7 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 30 Jul 2015 05:55:48 +0300 Subject: [PATCH] Fix tracking installation order --- slpkg/sbo/slackbuild.py | 1 + slpkg/tracking.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"]