d4e0bd1bf0
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
25 lines
407 B
Go
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",
|
|
},
|
|
},
|
|
}
|
|
}
|