Thomas Hipp 5555dd7c6e
managers: Fix yum commands
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-28 11:02:57 +02:00

29 lines
407 B
Go

package managers
// NewYum creates a new Manager instance.
func NewYum() *Manager {
return &Manager{
command: "yum",
flags: ManagerFlags{
clean: []string{
"clean", "all",
},
global: []string{
"-y",
},
install: []string{
"install",
},
remove: []string{
"remove",
},
refresh: []string{
"makecache",
},
update: []string{
"update",
},
},
}
}