mirror of
https://github.com/Jguer/yay.git
synced 2024-11-07 01:27:21 +01:00
13 lines
200 B
Go
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)
|
||
|
}
|
||
|
}
|