diff options
| author | Adam Vandenberg | 2013-08-14 22:14:35 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-14 22:14:35 -0700 |
| commit | 06d45845fc10f6857b572d13aad4b7280247ee40 (patch) | |
| tree | efd0419d2aa857e04d07098f6f7af81fb4385d3d /Library/Homebrew | |
| parent | f9d17ddbd53a7517449aee18439dd1e8eedc9f42 (diff) | |
| download | homebrew-06d45845fc10f6857b572d13aad4b7280247ee40.tar.bz2 | |
add ubuntu package search
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 651534595..f18f21ca3 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -15,6 +15,8 @@ module Homebrew extend self exec_browser "http://software.opensuse.org/search?q=#{ARGV.next}" elsif ARGV.include? '--fedora' exec_browser "https://admin.fedoraproject.org/pkgdb/acls/list/*#{ARGV.next}*" + elsif ARGV.include? '--ubuntu' + exec_browser "http://packages.ubuntu.com/search?keywords=#{ARGV.next}&searchon=names&suite=all§ion=all" elsif (query = ARGV.first).nil? puts_columns Formula.names else |
