aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pincaster.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/pincaster.rb')
-rw-r--r--Library/Formula/pincaster.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/pincaster.rb b/Library/Formula/pincaster.rb
index 7ddafcef3..f2d82e91d 100644
--- a/Library/Formula/pincaster.rb
+++ b/Library/Formula/pincaster.rb
@@ -16,14 +16,14 @@ class Pincaster < Formula
etc.install "pincaster.conf"
(var+"db/pincaster/").mkpath
- (prefix+'com.github.pincaster.plist').write startup_plist
- (prefix+'com.github.pincaster.plist').chmod 0644
+ plist_path.write startup_plist
+ plist_path.chmod 0644
end
def caveats
<<-EOS.undent
Automatically load on login with:
- launchctl load -w #{prefix}/com.github.pincaster.plist
+ launchctl load -w #{plist_path}
To start pincaster manually:
pincaster #{etc}/pincaster.conf
@@ -39,7 +39,7 @@ class Pincaster < Formula
<key>KeepAlive</key>
<true/>
<key>Label</key>
- <string>com.github.pincaster</string>
+ <string>#{plist_name}</string>
<key>ProgramArguments</key>
<array>
<string>#{HOMEBREW_PREFIX}/bin/pincaster</string>