fix(aur_install): fix debug pacakges not being found (#1977)

This commit is contained in:
Ferdinand Bachmann authored and GitHub committed 2023-03-29 09:08:25 +00:00
1 parent 9137c1e95f
commit bebe80bb84
1 file changed
+2 -2
+2 -2
View File
@@ -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)
}
}