diff options
| author | Matthew Lewinski | 2012-02-04 08:57:53 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-04 08:07:35 -0800 |
| commit | c2b8e871db8477d4ff1396156d7794d50565f7cc (patch) | |
| tree | 97b7b659f128a87bd5056ea48de587ff5a5ea9bc /Library/Formula/postgresql.rb | |
| parent | c86610bbae2280cb8ba1d84e38b08d637e9c9e6a (diff) | |
| download | homebrew-c2b8e871db8477d4ff1396156d7794d50565f7cc.tar.bz2 | |
Minor cleanup on plist caveats.
Use basename to refer to plist file when loaded. Make cp lines same
across formulas.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/postgresql.rb')
| -rw-r--r-- | Library/Formula/postgresql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index 6513670e6..3188a41d4 100644 --- a/Library/Formula/postgresql.rb +++ b/Library/Formula/postgresql.rb @@ -117,7 +117,7 @@ If this is your first install, automatically load on login with: cp #{plist_path} ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename} -If this is an upgrade and you already have the #{plist_path} loaded: +If this is an upgrade and you already have the #{plist_path.basename} loaded: launchctl unload -w ~/Library/LaunchAgents/#{plist_path.basename} cp #{plist_path} ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename} |
