mirror of
https://github.com/Jguer/yay.git
synced 2025-10-09 00:07:14 -04:00
Fixed no target on AUR Install
This commit is contained in:
parent
624b519de5
commit
7d6eb8fdbe
@ -255,7 +255,7 @@ func (a *Result) Install(baseDir string, flags []string) (err error) {
|
|||||||
|
|
||||||
aurQ, n, err := MultiInfo(aurDeps)
|
aurQ, n, err := MultiInfo(aurDeps)
|
||||||
if n != len(aurDeps) {
|
if n != len(aurDeps) {
|
||||||
fmt.Printf("Unable to find one package ")
|
fmt.Printf("Unable to find a dependency on AUR")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle AUR dependencies first
|
// Handle AUR dependencies first
|
||||||
@ -264,7 +264,9 @@ func (a *Result) Install(baseDir string, flags []string) (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Repo dependencies
|
// Repo dependencies
|
||||||
|
if len(repoDeps) != 0 {
|
||||||
pacman.PassToPacman("-S", repoDeps, []string{"--asdeps", "--needed"})
|
pacman.PassToPacman("-S", repoDeps, []string{"--asdeps", "--needed"})
|
||||||
|
}
|
||||||
|
|
||||||
err = os.Chdir(dir.String())
|
err = os.Chdir(dir.String())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user