mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-26 19:58:50 +01:00
Update used var
This commit is contained in:
parent
34fa8eaceb
commit
1c9c5f827b
1 changed files with 5 additions and 3 deletions
|
@ -75,11 +75,13 @@ def track_dep(name, repo, flag):
|
|||
_meta_.color["YELLOW"], _meta_.color["ENDC"]))
|
||||
index = 0
|
||||
for pkg in dependencies:
|
||||
used = ""
|
||||
if flag == "--check-deps":
|
||||
used = check_used(pkg)
|
||||
if used and flag == "--check-deps":
|
||||
used = "{0} {1}{2}{3}".format(
|
||||
"is dependency -->", _meta_.color["CYAN"],
|
||||
", ".join(check_used(pkg)), _meta_.color["ENDC"])
|
||||
", ".join(used), _meta_.color["ENDC"])
|
||||
else:
|
||||
used = ""
|
||||
index += 1
|
||||
installed = ""
|
||||
if find_package(pkg + _meta_.sp, _meta_.pkg_path):
|
||||
|
|
Loading…
Add table
Reference in a new issue