distrobuilder/managers/portage.go
Thomas Hipp d4e0bd1bf0
managers: Add portage
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-04-03 16:40:10 +02:00

25 lines
407 B
Go

package managers
// NewPortage creates a new Manager instance.
func NewPortage() *Manager {
return &Manager{
command: "emerge",
flags: ManagerFlags{
global: []string{},
clean: []string{},
install: []string{
"--autounmask-continue",
},
remove: []string{
"--unmerge",
},
refresh: []string{
"--sync",
},
update: []string{
"--update", "@world",
},
},
}
}