Skip to content

Commit

Permalink
Changed Java dependency from Depends to Suggest.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
webpatser authored and spinscale committed Jun 2, 2013
1 parent 609ad0e commit 9f43814
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deb/control/control
Expand Up @@ -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/
Expand Down

0 comments on commit 9f43814

Please sign in to comment.