distrobuilder/managers/apk.go
Thomas Hipp 64c04995b3
initial commit
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-06 15:24:32 +01:00

26 lines
374 B
Go

package managers
// NewApk creates a new Manager instance.
func NewApk() *Manager {
return &Manager{
command: "apk",
flags: ManagerFlags{
global: []string{
"--no-cache",
},
install: []string{
"add",
},
remove: []string{
"del", "--rdepends",
},
refresh: []string{
"update",
},
update: []string{
"upgrade",
},
},
}
}