aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mongodb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/mongodb.rb')
-rwxr-xr-xLibrary/Formula/mongodb.rb6
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