From 17cda9bba0291af7bacac038153880ab79276b5c Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 16 Dec 2012 09:25:10 -0800 Subject: Install some AWS packages to libexec To prevent conflicting service commands, install some AWS packages to libexec and don't symlink in the service command. Closes #16591. --- Library/Formula/aws-elasticache.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Library/Formula/aws-elasticache.rb') diff --git a/Library/Formula/aws-elasticache.rb b/Library/Formula/aws-elasticache.rb index 2cc2bc04b..ec762be95 100644 --- a/Library/Formula/aws-elasticache.rb +++ b/Library/Formula/aws-elasticache.rb @@ -9,10 +9,13 @@ class AwsElasticache < AmazonWebServicesFormula depends_on 'ec2-api-tools' def install - standard_install + rm Dir['bin/*.cmd'] # Remove Windows command files + libexec.install "bin", "lib" + bin.install_symlink Dir["#{libexec}/bin/*"] + (bin/'service').unlink # Don't keep this symlink end def caveats - standard_instructions "AWS_ELASTICACHE_HOME" + standard_instructions "AWS_ELASTICACHE_HOME", libexec end end -- cgit v1.2.3