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

29 lines
446 B
Go

package managers
// NewApt creates a new Manager instance.
func NewApt() *Manager {
return &Manager{
command: "apt-get",
flags: ManagerFlags{
clean: []string{
"clean",
},
global: []string{
"-y",
},
install: []string{
"install", "--no-install-recommends",
},
remove: []string{
"remove", "--auto-remove",
},
refresh: []string{
"update",
},
update: []string{
"upgrade",
},
},
}
}