distrobuilder/managers/apt.go
Thomas Hipp a1ba76774f
managers: update apt flags
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-02-15 19:05:22 +01:00

29 lines
424 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",
},
remove: []string{
"remove", "--auto-remove",
},
refresh: []string{
"update",
},
update: []string{
"dist-upgrade",
},
},
}
}