From efa0cbecb0e3027e4d3baa602da6f67799d8879d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 26 Dec 2014 16:30:58 -0500 Subject: [PATCH] Define install instead of making subclasses call standard_install --- Library/Homebrew/formula_specialties.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_specialties.rb b/Library/Homebrew/formula_specialties.rb index 179f591e31..96673fdea1 100644 --- a/Library/Homebrew/formula_specialties.rb +++ b/Library/Homebrew/formula_specialties.rb @@ -20,11 +20,12 @@ end class AmazonWebServicesFormula < Formula # Use this method to peform a standard install for Java-based tools, # keeping the .jars out of HOMEBREW_PREFIX/lib - def standard_install + def install rm Dir['bin/*.cmd'] # Remove Windows versions libexec.install Dir['*'] bin.install_symlink Dir["#{libexec}/bin/*"] - ["#{libexec}/bin/service"] end + alias_method :standard_install, :install # Use this method to generate standard caveats. def standard_instructions home_name, home_value=libexec