AWS tools: always install to libexec

Don't link jars into lib or service into bin.
This commit is contained in:
Adam Vandenberg 2013-11-15 23:57:07 -08:00
parent 898fc5df95
commit e1cd655b02
2 changed files with 4 additions and 10 deletions

View file

@ -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

View file

@ -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: