managers: Allow overriding install flags

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This commit is contained in:
Thomas Hipp 2019-03-06 16:19:38 +01:00
parent c9f549d8cc
commit 1dd406f34a
No known key found for this signature in database
GPG Key ID: 993408D1137B7D51

View File

@ -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
}