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