diff options
| author | Trevor Turk | 2010-09-01 10:11:17 -0500 |
|---|---|---|
| committer | David Höppner | 2010-09-01 17:54:35 +0200 |
| commit | 292f57b853b8af2d3e20c54bc30f5f8005a90ac8 (patch) | |
| tree | 28aab8db678437a87b9975870c9534303eda0b7e /Library/Formula | |
| parent | 5ad392b4197e083b00a076f0ba1b1b8ab3aee0cb (diff) | |
| download | homebrew-292f57b853b8af2d3e20c54bc30f5f8005a90ac8.tar.bz2 | |
couchdb: fix potential problem with download, add plist info in caveats
Signed-off-by: David Höppner <0xffea@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/couchdb.rb | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/Library/Formula/couchdb.rb b/Library/Formula/couchdb.rb index d70958256..959d0e481 100644 --- a/Library/Formula/couchdb.rb +++ b/Library/Formula/couchdb.rb @@ -1,9 +1,10 @@ require 'formula' class Couchdb <Formula - url 'git://github.com/apache/couchdb.git', :tag => "1.0.1" + url 'http://github.com/apache/couchdb/tarball/1.0.1' homepage "http://couchdb.apache.org/" version "1.0.1" + md5 'f2ea23caacff482afe44e29a3f8b7685' depends_on 'spidermonkey' depends_on 'icu4c' @@ -26,4 +27,19 @@ class Couchdb <Formula end -end + def caveats; <<-EOS.undent + If this is your first install, automatically load on login with: + cp #{prefix}/Library/LaunchDaemons/org.apache.couchdb.plist ~/Library/LaunchAgents + launchctl load -w ~/Library/LaunchAgents/org.apache.couchdb.plist + + If this is an upgrade and you already have the com.mysql.mysqld.plist loaded: + launchctl unload -w ~/Library/LaunchAgents/org.apache.couchdb.plist + cp #{prefix}/Library/LaunchDaemons/org.apache.couchdb.plist ~/Library/LaunchAgents + launchctl load -w ~/Library/LaunchAgents/org.apache.couchdb.plist + + Or start manually with: + couchdb + EOS + end + +end
\ No newline at end of file |
