mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-27 19:58:21 +01:00
Fix check deps if exist
This commit is contained in:
parent
c784ff7f46
commit
44132ad23c
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue