aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-12-26 16:30:58 -0500
committerJack Nagel2014-12-26 16:32:19 -0500
commitefa0cbecb0e3027e4d3baa602da6f67799d8879d (patch)
tree6f50fee549e4315527bb648cdd4f4b6df20a5e49 /Library/Homebrew
parentdec965e13248111d9b134f1cc686d797c345ff23 (diff)
downloadbrew-efa0cbecb0e3027e4d3baa602da6f67799d8879d.tar.bz2
Define install instead of making subclasses call standard_install
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula_specialties.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_specialties.rb b/Library/Homebrew/formula_specialties.rb
index 179f591e3..96673fdea 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