aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-05-26 19:15:16 -0700
committerAdam Vandenberg2010-05-26 19:15:16 -0700
commit4fb29767fec455c099fdfd1004d2e01146b3f488 (patch)
tree97a10d76c0d85fa1f3531fa6057677c1838ed1a0
parent4da905b7fb61a48392aee18a8a2b0bf757cdab22 (diff)
downloadbrew-4fb29767fec455c099fdfd1004d2e01146b3f488.tar.bz2
Add "brew create --fink"
Similiar to "brew create --macports", using --fink will do the corresponding search for Fink packages.
-rwxr-xr-xbin/brew2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index 092fe5598..dda9033ed 100755
--- a/bin/brew
+++ b/bin/brew
@@ -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