tomcat: add conflicts_with.

Closes #7558.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2016-12-05 09:43:32 +00:00
parent 767dc8fb03
commit 3c3bff3b41

View file

@ -37,6 +37,9 @@ class Tomcat < Formula
option "with-fulldocs", "Install full documentation locally"
conflicts_with "tomcat@6", :because => "Differing versions of same formula"
conflicts_with "tomcat@7", :because => "Differing versions of same formula"
def install
# Remove Windows scripts
rm_rf Dir["bin/*.bat"]