Files
yay/callbacks.go
T
Sergio Correia 9f62663888 Minor cleanups to keep the linter happy
* Unexported:
  - QuestionCallback
  - SliceToStringSet

* Unreachable return in parser.go

* Unneded else in dependencies.go

* Punctuation in error message in install.go
2018-03-19 11:39:47 -04:00

13 lines
200 B
Go

package main
import (
alpm "github.com/jguer/go-alpm"
)
func questionCallback(question alpm.QuestionAny) {
q, err := question.QuestionInstallIgnorepkg()
if err == nil {
q.SetInstall(true)
}
}