From d75bb2bafbbdc274b45563f721597cb426a39859 Mon Sep 17 00:00:00 2001 From: morganamilo Date: Tue, 27 Feb 2018 20:37:52 +0000 Subject: [PATCH] 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. --- dependencies.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dependencies.go b/dependencies.go index b575f0c4..8925aec4 100644 --- a/dependencies.go +++ b/dependencies.go @@ -187,6 +187,12 @@ func getDepTree(pkgs []string) (*depTree, error) { continue } + + _, isGroup := syncDb.PkgCachebyGroup(pkg) + if isGroup == nil { + continue + } + dt.ToProcess.set(pkg) }