aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/aws-elasticache.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-12-16 09:25:10 -0800
committerAdam Vandenberg2012-12-16 09:25:10 -0800
commit17cda9bba0291af7bacac038153880ab79276b5c (patch)
tree0ce94ce1013054974a9f19d78e194e76a60a65b8 /Library/Formula/aws-elasticache.rb
parentd031474a2c0754ea506df2210b9469f9c85562f4 (diff)
downloadhomebrew-17cda9bba0291af7bacac038153880ab79276b5c.tar.bz2
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.
Diffstat (limited to 'Library/Formula/aws-elasticache.rb')
-rw-r--r--Library/Formula/aws-elasticache.rb7
1 files changed, 5 insertions, 2 deletions
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