managers: Allow overriding install flags
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This commit is contained in:
parent
c9f549d8cc
commit
1dd406f34a
@ -116,3 +116,8 @@ func (m Manager) Update() error {
|
||||
|
||||
return shared.RunCommand(m.command, args...)
|
||||
}
|
||||
|
||||
// SetInstallFlags overrides the default install flags.
|
||||
func (m *Manager) SetInstallFlags(flags ...string) {
|
||||
m.flags.install = flags
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user