yay/callbacks.go

13 lines
200 B
Go
Raw Normal View History

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