mirror of
https://github.com/Jguer/yay.git
synced 2025-10-05 00:08:30 -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)
|
||||
if n != len(aurDeps) {
|
||||
fmt.Printf("Unable to find one package ")
|
||||
fmt.Printf("Unable to find a dependency on AUR")
|
||||
}
|
||||
|
||||
// Handle AUR dependencies first
|
||||
@ -264,7 +264,9 @@ func (a *Result) Install(baseDir string, flags []string) (err error) {
|
||||
}
|
||||
|
||||
// Repo dependencies
|
||||
pacman.PassToPacman("-S", repoDeps, []string{"--asdeps", "--needed"})
|
||||
if len(repoDeps) != 0 {
|
||||
pacman.PassToPacman("-S", repoDeps, []string{"--asdeps", "--needed"})
|
||||
}
|
||||
|
||||
err = os.Chdir(dir.String())
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user