From ea8fe721588687b4d8c0d69b794deac264212998 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Thu, 10 Feb 2022 16:29:37 +0100 Subject: [PATCH] compare packagebase to sort out packages that were merged/split from splitpackages --- utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.go b/utils.go index 34782a2..ae63b11 100644 --- a/utils.go +++ b/utils.go @@ -588,7 +588,7 @@ func (p *BuildPackage) isAvailable(h *alpm.Handle) bool { return false } - if p.Srcinfo != nil && p.Srcinfo.Arch[0] != pkg.Architecture() { + if p.Srcinfo != nil && p.Srcinfo.Arch[0] != pkg.Architecture() || p.Srcinfo.Pkgbase != pkg.Base() { return false }