From 1dd406f34a131478957c6cefff734be5c87615d9 Mon Sep 17 00:00:00 2001 From: Thomas Hipp Date: Wed, 6 Mar 2019 16:19:38 +0100 Subject: [PATCH] managers: Allow overriding install flags Signed-off-by: Thomas Hipp --- managers/manager.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/managers/manager.go b/managers/manager.go index 21d7f0a..10f1d04 100644 --- a/managers/manager.go +++ b/managers/manager.go @@ -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 +}