Commit fa30c6b9ab0eb2398fd3d9e812d06a8d07960bb5
1 parent
9e3dc357
Exists in
elasticsearch_api
elasticsearch depends on openjdk-7-jdk
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
plugins/elasticsearch/README.md
@@ -10,7 +10,7 @@ Download: https://www.elastic.co/downloads/past-releases/elasticsearch-1-7-5 | @@ -10,7 +10,7 @@ Download: https://www.elastic.co/downloads/past-releases/elasticsearch-1-7-5 | ||
10 | INSTALL | 10 | INSTALL |
11 | ======= | 11 | ======= |
12 | 12 | ||
13 | -Install elasticsearch. | 13 | +Install elasticsearch and openjdk-7-jdk. |
14 | 14 | ||
15 | $ cd plugins/elasticsearch | 15 | $ cd plugins/elasticsearch |
16 | $ rake install | 16 | $ rake install |
plugins/elasticsearch/Rakefile
@@ -13,5 +13,6 @@ end | @@ -13,5 +13,6 @@ end | ||
13 | 13 | ||
14 | desc "install elasticsearch" | 14 | desc "install elasticsearch" |
15 | task :install => :download do | 15 | task :install => :download do |
16 | + sh 'sudo apt-get install openjdk-7-jdk' | ||
16 | sh 'sudo dpkg -i /tmp/elasticsearch.deb || sudo apt-get install -f' | 17 | sh 'sudo dpkg -i /tmp/elasticsearch.deb || sudo apt-get install -f' |
17 | end | 18 | end |