From 31348c34aeffe045181237cc393c177cfa6e08b4 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 14 Aug 2013 22:14:35 -0700 Subject: add ubuntu package search --- Library/Homebrew/cmd/search.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Homebrew/cmd') 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 -- cgit v1.2.3