couchdb: fix potential problem with download, add plist info in caveats
Signed-off-by: David Höppner <0xffea@gmail.com>master
parent
4da1978886
commit
ab47448652
|
@ -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
|
Loading…
Reference in New Issue