diff options
| author | Adam Vandenberg | 2010-04-06 22:58:35 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:53 -0700 | 
| commit | d0efd9ee94a55e243f3b10e903526274fc21d569 (patch) | |
| tree | b21984390a0292957a3819df57c62bac558d284d /Library/Formula/mongodb.rb | |
| parent | cdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff) | |
| download | homebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2 | |
Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
Diffstat (limited to 'Library/Formula/mongodb.rb')
| -rwxr-xr-x | Library/Formula/mongodb.rb | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 5ed63f898..91c2454d5 100755 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -14,13 +14,11 @@ class Mongodb <Formula      version '1.6.0-i386'    end -  def skip_clean? path -    true -  end +  skip_clean :all    def install      # Copy the prebuilt binaries to prefix -    system "cp -prv * #{prefix}" +    prefix.install Dir['*']      # Create the data and log directories under /var      (var+'mongodb').mkpath | 
