Skip to content
This repository
Browse code

Sonar 3.2.1

Closes #15275.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit 94eecd4bab9fef6705ca6f16ebc78c3b0d0b2d87 1 parent e729dcb
David Gageot authored October 03, 2012 adamv committed October 03, 2012

Showing 1 changed file with 13 additions and 14 deletions. Show diff stats Hide diff stats

  1. 27  Library/Formula/sonar.rb
27  Library/Formula/sonar.rb
@@ -2,8 +2,8 @@
2 2
 
3 3
 class Sonar < Formula
4 4
   homepage 'http://www.sonarsource.org'
5  
-  url 'http://dist.sonar.codehaus.org/sonar-3.2.zip'
6  
-  sha1 'a6ec8855e4b365a89c07d688a8a1af04358237bb'
  5
+  url 'http://dist.sonar.codehaus.org/sonar-3.2.1.zip'
  6
+  sha1 'de9300463b8d1eb728bc311f8bdbba7fe351d452'
7 7
 
8 8
   def install
9 9
     # Delete native bin directories for other systems
@@ -26,20 +26,19 @@ def install
26 26
     end
27 27
   end
28 28
 
29  
-  def caveats; <<-EOS
30  
-If this is your first install, automatically load on login with:
31  
-    mkdir -p ~/Library/LaunchAgents
32  
-    cp #{plist_path} ~/Library/LaunchAgents/
33  
-    launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
  29
+  def caveats; <<-EOS.undent
  30
+    If this is your first install, automatically load on login with:
  31
+      mkdir -p ~/Library/LaunchAgents
  32
+      ln -nfs #{plist_path} ~/Library/LaunchAgents/
  33
+      launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
34 34
 
35  
-If this is an upgrade and you already have the #{plist_path.basename} loaded:
36  
-    launchctl unload -w ~/Library/LaunchAgents/#{plist_path.basename}
37  
-    cp #{plist_path} ~/Library/LaunchAgents/
38  
-    launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
  35
+    If this is an upgrade and you already have the #{plist_path.basename} loaded:
  36
+      launchctl unload -w ~/Library/LaunchAgents/#{plist_path.basename}
  37
+      launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
39 38
 
40  
-Or start it manually:
41  
-   #{HOMEBREW_PREFIX}/bin/sonar console
42  
-EOS
  39
+    Or start it manually:
  40
+      #{HOMEBREW_PREFIX}/bin/sonar console
  41
+    EOS
43 42
   end
44 43
 
45 44
   def startup_plist

0 notes on commit 94eecd4

Please sign in to comment.
Something went wrong with that request. Please try again.