aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/couchdb-lucene.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-09-02 14:41:57 -0700
committerAdam Vandenberg2011-09-02 14:41:57 -0700
commita840c4a17d2f35095eba954adf4f231559056c46 (patch)
tree0c4fc1ccc0528052646ee56c4822cc2fd4441ab1 /Library/Formula/couchdb-lucene.rb
parent59d0f7975c47def12d16e6326a85c35cde7e4d57 (diff)
downloadhomebrew-a840c4a17d2f35095eba954adf4f231559056c46.tar.bz2
Fix plist permissions for Lion
Diffstat (limited to 'Library/Formula/couchdb-lucene.rb')
-rw-r--r--Library/Formula/couchdb-lucene.rb19
1 files changed, 10 insertions, 9 deletions
diff --git a/Library/Formula/couchdb-lucene.rb b/Library/Formula/couchdb-lucene.rb
index 9a646db17..8747dadc6 100644
--- a/Library/Formula/couchdb-lucene.rb
+++ b/Library/Formula/couchdb-lucene.rb
@@ -18,19 +18,20 @@ class CouchdbLucene < Formula
system "mv couchdb-lucene-#{version}/* #{prefix}"
(etc + "couchdb/local.d/couchdb-lucene.ini").write ini_file
- (prefix + "couchdb-lucene.plist").write plist_file
+ (prefix+"couchdb-lucene.plist").write plist_file
+ (prefix+"couchdb-lucene.plist").chmod 0644
end
- def caveats; <<-EOS
-You can enable couchdb-lucene to automatically load on login with:
+ def caveats; <<-EOS.undent
+ You can enable couchdb-lucene to automatically load on login with:
- mkdir -p ~/Library/LaunchAgents
- cp "#{prefix}/couchdb-lucene.plist" ~/Library/LaunchAgents/
- launchctl load -w ~/Library/LaunchAgents/couchdb-lucene.plist
+ mkdir -p ~/Library/LaunchAgents
+ cp "#{prefix}/couchdb-lucene.plist" ~/Library/LaunchAgents/
+ launchctl load -w ~/Library/LaunchAgents/couchdb-lucene.plist
-Or start it manually with:
- #{bin}/run
-EOS
+ Or start it manually with:
+ #{bin}/run
+ EOS
end
def ini_file