diff options
| author | Adam Vandenberg | 2012-09-08 12:19:08 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-09-09 13:02:48 -0700 |
| commit | 7334e4b99027f932b73e8234f1a3585b468f0b60 (patch) | |
| tree | 248b1250df526e442eb50ecc9fb57aecc07e1954 /Library/Formula/mongodb.rb | |
| parent | ac59720b272ea5d69a56af218f828f2c2eef4781 (diff) | |
| download | homebrew-7334e4b99027f932b73e8234f1a3585b468f0b60.tar.bz2 | |
Let plists be installed automatically
Diffstat (limited to 'Library/Formula/mongodb.rb')
| -rw-r--r-- | Library/Formula/mongodb.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 58ccfa4a4..58c3a1096 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -25,10 +25,8 @@ class Mongodb < Formula (var+'mongodb').mkpath (var+'log/mongodb').mkpath - # Write the configuration files and launchd script + # Write the configuration files (prefix+'mongod.conf').write mongodb_conf - plist_path.write startup_plist - plist_path.chmod 0644 # copy the config file to etc if this is the first install. etc.install prefix+'mongod.conf' unless File.exists? etc+"mongod.conf" |
