Add fink/macports support to 'brew search'.
This commit is contained in:
parent
d9258073f0
commit
a1fcbdcefb
6
bin/brew
6
bin/brew
@ -129,6 +129,12 @@ begin
|
||||
end
|
||||
|
||||
when 'search', '-S'
|
||||
if ARGV.include? '--macports'
|
||||
exec "open", "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
|
||||
elsif ARGV.include? '--fink'
|
||||
exec "open", "http://pdb.finkproject.org/pdb/browse.php?summary=#{ARGV.next}"
|
||||
end
|
||||
|
||||
check_for_blacklisted_formula(ARGV.named)
|
||||
puts_columns search_brews(ARGV.first)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user