2018-03-16 01:18:13 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
alpm "github.com/jguer/go-alpm"
|
|
|
|
)
|
|
|
|
|
2018-03-19 16:30:44 +01:00
|
|
|
func questionCallback(question alpm.QuestionAny) {
|
2018-03-16 01:18:13 +01:00
|
|
|
q, err := question.QuestionInstallIgnorepkg()
|
|
|
|
if err == nil {
|
|
|
|
q.SetInstall(true)
|
|
|
|
}
|
|
|
|
}
|