cmd/internal/browser: add chromium to the list of browsers
Many linux distros distribute Chromium instead of Chrome.
Change-Id: I5474d94da28a7c79bdd7181f77472d4ce73bb225
Reviewed-on: https://go-review.googlesource.com/29293
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
diff --git a/src/cmd/internal/browser/browser.go b/src/cmd/internal/browser/browser.go
index 11e65c2..897086f 100644
--- a/src/cmd/internal/browser/browser.go
+++ b/src/cmd/internal/browser/browser.go
@@ -25,7 +25,12 @@
default:
cmds = append(cmds, []string{"xdg-open"})
}
- cmds = append(cmds, []string{"chrome"}, []string{"google-chrome"}, []string{"firefox"})
+ cmds = append(cmds,
+ []string{"chrome"},
+ []string{"google-chrome"},
+ []string{"chromium"},
+ []string{"firefox"},
+ )
return cmds
}