fix: correctly install brew by name

This commit is contained in:
2024-12-25 00:10:33 +02:00
parent 104717717a
commit be3cd37bd6

View File

@@ -16,7 +16,7 @@ type BrewOpts struct {
// Install implements IInstaller.
func (i *BrewInstaller) Install() error {
name := i.GetBinName()
name := *i.Info.Name
if i.GetOpts().Tap != nil {
name = *i.GetOpts().Tap + "/" + name
}