Browse Source

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.
morganamilo 7 years ago
parent
commit
d75bb2bafb
1 changed files with 6 additions and 0 deletions
  1. 6 0
      dependencies.go

+ 6 - 0
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)
 	}