Changed Java dependency from Depends to Suggest.

Since people are using the Oracle JAVA distribution and not the OpenJDK.
You can suggest it of course. Now the installation will at least continue.

If the init script is called, it will exit with a useful error message, that
no JDK is available via the JAVA_HOME variable.
This commit is contained in:
Christoph Kempen 2013-05-28 16:56:48 +02:00 committed by Alexander Reelsen
parent 609ad0e572
commit 9f43814a86
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,8 @@ Package: elasticsearch
Version: [[version]]
Architecture: all
Maintainer: Nicolas Huray <nicolas.huray@gmail.com>
Depends: libc6, adduser, java7-runtime-headless | java6-runtime-headless | java7-runtime | java6-runtime
Depends: libc6, adduser
Suggest: java7-runtime-headless | java6-runtime-headless | java7-runtime | java6-runtime
Section: web
Priority: optional
Homepage: http://www.elasticsearch.org/