i386 generator
This commit is contained in:
parent
da48e2ab4d
commit
3629c76bef
@ -25,8 +25,12 @@ def dependencies(cache, pkg, deps, key="Depends"):
|
||||
|
||||
pkgname = sys.argv[1]
|
||||
c = apt.Cache()
|
||||
|
||||
try:
|
||||
pkg = c[pkgname]
|
||||
|
||||
print("Parsing dep tree for: " + pkgname)
|
||||
|
||||
deps = set()
|
||||
|
||||
deps = dependencies(c, pkg, deps, "Depends")
|
||||
@ -35,3 +39,5 @@ print(" ".join(deps))
|
||||
preDeps = set()
|
||||
preDeps = dependencies(c, pkg, preDeps, "PreDepends")
|
||||
print(" ".join(preDeps))
|
||||
except:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user