From bebe80bb845f80afee526589185c9d674028f603 Mon Sep 17 00:00:00 2001 From: Ferdinand Bachmann Date: Wed, 29 Mar 2023 11:08:25 +0200 Subject: [PATCH] fix(aur_install): fix debug pacakges not being found (#1977) --- aur_install.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aur_install.go b/aur_install.go index d05ae3182..f1a64d373 100644 --- a/aur_install.go +++ b/aur_install.go @@ -342,12 +342,12 @@ func (installer *Installer) getNewTargets(pkgdests map[string]string, name strin pkgArchives = append(pkgArchives, pkgdest) - debugName := pkgdest + "-debug" + debugName := name + "-debug" pkgdestDebug, ok := pkgdests[debugName] if ok { if _, errStat := os.Stat(pkgdestDebug); errStat == nil { - pkgArchives = append(pkgArchives, debugName) + pkgArchives = append(pkgArchives, pkgdestDebug) } }