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 committed 2018-02-27 20:48:25 +00:00
1 parent dc3ed4575a
commit d75bb2bafb
1 file changed
+6
+6
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)
}