aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tomcat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/tomcat.rb')
-rw-r--r--Library/Formula/tomcat.rb17
1 files changed, 8 insertions, 9 deletions
diff --git a/Library/Formula/tomcat.rb b/Library/Formula/tomcat.rb
index eb53387c7..1486e4d49 100644
--- a/Library/Formula/tomcat.rb
+++ b/Library/Formula/tomcat.rb
@@ -5,7 +5,7 @@ class Tomcat <Formula
homepage 'http://tomcat.apache.org/'
md5 'f9eafa9bfd620324d1270ae8f09a8c89'
- def skip_clean?(path); true; end
+ skip_clean :all
def install
rm_rf Dir['bin/*.{cmd,bat]}']
@@ -15,15 +15,14 @@ class Tomcat <Formula
Dir["#{libexec}/bin/*.sh"].each { |f| ln_s f, bin }
end
- def caveats
- <<-EOS.undent
- Note: Some of the support scripts used by Tomcat have very generic names.
- These are likely to conflict with support scripts used by other Java-based
- server software.
+ def caveats; <<-EOS.undent
+ Note: Some of the support scripts used by Tomcat have very generic names.
+ These are likely to conflict with support scripts used by other Java-based
+ server software.
- You may want to `brew unlink tomcat` and add:
- #{bin}
- to your PATH instead.
+ You may want to `brew unlink tomcat` and add:
+ #{bin}
+ to your PATH instead.
EOS
end
end