Skip to content

Commit

Permalink
fix(aur_install): fix debug pacakges not being found (#1977)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdi265 authored Mar 29, 2023
1 parent 9137c1e commit bebe80b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aur_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit bebe80b

Please sign in to comment.