mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
update colors
This commit is contained in:
parent
ceec72a271
commit
092fb1fb80
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ def pkg_tracking(name):
|
|||
'''
|
||||
View tree of dependencies and also
|
||||
highlight packages with color green
|
||||
if allready installed and colore red
|
||||
if allready installed and color red
|
||||
if not installed.
|
||||
'''
|
||||
sys.stdout.write("Reading package lists ...")
|
||||
|
@ -87,9 +87,9 @@ def pkg_tracking(name):
|
|||
for duplicate in requires:
|
||||
if duplicate not in dependencies:
|
||||
dependencies.append(duplicate)
|
||||
pkg_len = len(name) + 24
|
||||
if dependencies == []:
|
||||
dependencies = ["No dependencies"]
|
||||
pkg_len = len(name) + 24
|
||||
template(pkg_len)
|
||||
print("| Package {0}{1}{2} dependencies :".format(CYAN, name, ENDC))
|
||||
template(pkg_len)
|
||||
|
|
Loading…
Add table
Reference in a new issue