Add "brew create --fink"
Similiar to "brew create --macports", using --fink will do the corresponding search for Fink packages.
This commit is contained in:
parent
4da905b7fb
commit
4fb29767fe
2
bin/brew
2
bin/brew
@ -203,6 +203,8 @@ begin
|
|||||||
when 'create'
|
when 'create'
|
||||||
if ARGV.include? '--macports'
|
if ARGV.include? '--macports'
|
||||||
exec "open", "http://www.macports.org/ports.php?by=name&substr=#{ARGV.next}"
|
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?
|
elsif ARGV.named.empty?
|
||||||
raise UsageError
|
raise UsageError
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user