fix(aur_install): fix debug pacakges not being found (#1977)
This commit is contained in:
1 parent
9137c1e95f
commit
bebe80bb84
1 file changed
+2
-2
+2
-2
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user