mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
fix write dependencies
This commit is contained in:
parent
650497355b
commit
d9c61f9fe7
1 changed files with 12 additions and 11 deletions
|
@ -363,6 +363,7 @@ def write_deps(dependencies):
|
|||
Write dependencies in a log file
|
||||
into directory `/var/log/slpkg/dep/`
|
||||
'''
|
||||
if len(dependencies) > 1:
|
||||
name = dependencies[-1]
|
||||
if find_package(name + "-", pkg_path):
|
||||
dep_path = log_path + "dep/"
|
||||
|
|
Loading…
Add table
Reference in a new issue