Check for groups when creating the depTree

And if we do find a group just ignore it completley and pass it to
pacman.

Because it's ignored by the depTree it fails to show up when printing
whats to be installed under [Repo]. This is a minor visual thing for now
so I think it's probably best to figure that out at another point.
This commit is contained in:
morganamilo 2018-02-27 20:37:52 +00:00
parent dc3ed4575a
commit d75bb2bafb
No known key found for this signature in database
GPG Key ID: 6FE9E7996B0B082E

View File

@ -187,6 +187,12 @@ func getDepTree(pkgs []string) (*depTree, error) {
continue
}
_, isGroup := syncDb.PkgCachebyGroup(pkg)
if isGroup == nil {
continue
}
dt.ToProcess.set(pkg)
}