diff --git a/Formula/aws-elasticache.rb b/Formula/aws-elasticache.rb index 0cfa78e8ca..f3e1f51e49 100644 --- a/Formula/aws-elasticache.rb +++ b/Formula/aws-elasticache.rb @@ -9,13 +9,10 @@ class AwsElasticache < AmazonWebServicesFormula depends_on 'ec2-api-tools' def 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 + standard_install end def caveats - standard_instructions "AWS_ELASTICACHE_HOME", libexec + standard_instructions "AWS_ELASTICACHE_HOME" end end diff --git a/Formula/rds-command-line-tools.rb b/Formula/rds-command-line-tools.rb index d70b313afc..dcab481e28 100644 --- a/Formula/rds-command-line-tools.rb +++ b/Formula/rds-command-line-tools.rb @@ -6,14 +6,11 @@ class RdsCommandLineTools < AmazonWebServicesFormula sha1 'd0853f066ba1dca699a4a1d91581e11e523ec83a' def 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 + standard_install end def caveats - s = standard_instructions "AWS_RDS_HOME", libexec + s = standard_instructions "AWS_RDS_HOME" s += <<-EOS.undent To check that your setup works properly, run the following command: