aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/aws-elasticache.rb
diff options
context:
space:
mode:
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