diff options
| author | David Gageot | 2012-10-03 13:03:08 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-03 06:36:31 -0700 |
| commit | 94eecd4bab9fef6705ca6f16ebc78c3b0d0b2d87 (patch) | |
| tree | 59a77bd0d637311979223d46b7123c423523df88 /Library/Formula | |
| parent | e729dcb545f0174be81ecbb157f3c9310de670b0 (diff) | |
| download | homebrew-94eecd4bab9fef6705ca6f16ebc78c3b0d0b2d87.tar.bz2 | |
Sonar 3.2.1
Closes #15275.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sonar.rb | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/Library/Formula/sonar.rb b/Library/Formula/sonar.rb index 696b5e2ee..1f6d5be88 100644 --- a/Library/Formula/sonar.rb +++ b/Library/Formula/sonar.rb @@ -2,8 +2,8 @@ require 'formula' class Sonar < Formula homepage 'http://www.sonarsource.org' - url 'http://dist.sonar.codehaus.org/sonar-3.2.zip' - sha1 'a6ec8855e4b365a89c07d688a8a1af04358237bb' + url 'http://dist.sonar.codehaus.org/sonar-3.2.1.zip' + sha1 'de9300463b8d1eb728bc311f8bdbba7fe351d452' def install # Delete native bin directories for other systems @@ -26,20 +26,19 @@ class Sonar < Formula end end - def caveats; <<-EOS -If this is your first install, automatically load on login with: - mkdir -p ~/Library/LaunchAgents - cp #{plist_path} ~/Library/LaunchAgents/ - launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename} + def caveats; <<-EOS.undent + If this is your first install, automatically load on login with: + mkdir -p ~/Library/LaunchAgents + ln -nfs #{plist_path} ~/Library/LaunchAgents/ + launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename} -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} + If this is an upgrade and you already have the #{plist_path.basename} loaded: + launchctl unload -w ~/Library/LaunchAgents/#{plist_path.basename} + launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename} -Or start it manually: - #{HOMEBREW_PREFIX}/bin/sonar console -EOS + Or start it manually: + #{HOMEBREW_PREFIX}/bin/sonar console + EOS end def startup_plist |
