Add "brew create --fink"

Similiar to "brew create --macports", using --fink will do the corresponding
search for Fink packages.
This commit is contained in:
Adam Vandenberg 2010-05-26 19:15:16 -07:00
parent 4da905b7fb
commit 4fb29767fe

View File

@ -203,6 +203,8 @@ begin
when 'create'
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}"
elsif ARGV.named.empty?
raise UsageError
else