mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
update source code
This commit is contained in:
parent
e4fe1195aa
commit
55b0ed803d
1 changed files with 6 additions and 0 deletions
|
@ -75,9 +75,15 @@ def pkg_tracking(name):
|
||||||
sys.stdout.write("Done\n")
|
sys.stdout.write("Done\n")
|
||||||
print # new line at start
|
print # new line at start
|
||||||
requires, dependencies = [], []
|
requires, dependencies = [], []
|
||||||
|
'''
|
||||||
|
Create one list for all packages
|
||||||
|
'''
|
||||||
for pkg in dependencies_list:
|
for pkg in dependencies_list:
|
||||||
requires += pkg
|
requires += pkg
|
||||||
requires.reverse()
|
requires.reverse()
|
||||||
|
'''
|
||||||
|
Remove double dependencies
|
||||||
|
'''
|
||||||
for duplicate in requires:
|
for duplicate in requires:
|
||||||
if duplicate not in dependencies:
|
if duplicate not in dependencies:
|
||||||
dependencies.append(duplicate)
|
dependencies.append(duplicate)
|
||||||
|
|
Loading…
Add table
Reference in a new issue