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:
parent
609ad0e572
commit
9f43814a86
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue