distrobuilder/managers/zypper.go
Thomas Hipp f2c6371971
zypper: Remove --allow-downgrade install flag
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2019-03-06 16:41:22 +01:00

31 lines
461 B
Go

package managers
// NewZypper create a new Manager instance.
func NewZypper() *Manager {
return &Manager{
command: "zypper",
flags: ManagerFlags{
global: []string{
"--non-interactive",
"--gpg-auto-import-keys",
},
clean: []string{
"clean",
"-a",
},
install: []string{
"install",
},
remove: []string{
"remove",
},
refresh: []string{
"refresh",
},
update: []string{
"update",
},
},
}
}