Fix check deps if exist

This commit is contained in:
Dimitris Zlatanidis 2015-07-21 18:16:38 +03:00
parent c784ff7f46
commit 44132ad23c

View file

@ -162,8 +162,9 @@ class PackageManager(object):
print("| Found dependencies for package {0}:".format(package))
Msg().template(78)
for dep in dependencies.splitlines():
print("| {0}{1}{2}".format(self.meta.color["RED"], dep,
self.meta.color["ENDC"]))
if GetFromInstalled(dep).name():
print("| {0}{1}{2}".format(self.meta.color["RED"], dep,
self.meta.color["ENDC"]))
Msg().template(78)
return dependencies