Merge "Use java version independent package on Ubuntu"
This commit is contained in:
commit
894cbd6545
@ -2,6 +2,7 @@ bc
|
||||
bridge-utils
|
||||
bsdmainutils
|
||||
curl
|
||||
default-jre-headless # NOPRIME
|
||||
g++
|
||||
gcc
|
||||
gettext # used for compiling message catalogs
|
||||
@ -17,7 +18,6 @@ libxml2-dev # lxml
|
||||
libxslt1-dev # lxml
|
||||
libyaml-dev
|
||||
lsof # useful when debugging
|
||||
openjdk-7-jre-headless # NOPRIME
|
||||
openssh-server
|
||||
openssl
|
||||
pkg-config
|
||||
|
@ -83,7 +83,7 @@ function install_elasticsearch {
|
||||
return
|
||||
fi
|
||||
if is_ubuntu; then
|
||||
is_package_installed openjdk-7-jre-headless || install_package openjdk-7-jre-headless
|
||||
is_package_installed default-jre-headless || install_package default-jre-headless
|
||||
|
||||
sudo dpkg -i ${FILES}/elasticsearch-${ELASTICSEARCH_VERSION}.deb
|
||||
sudo update-rc.d elasticsearch defaults 95 10
|
||||
|
Loading…
Reference in New Issue
Block a user