Skip to content

Commit

Permalink
Ubuntu/Debian should depend on 'java-runtime-headless'
Browse files Browse the repository at this point in the history
This fixes elastic#893. The previous dependency "default-jre-headless" is just
a metapackage pointing at openjre6, but "java6-runtime-headless" is a
'Provides' entry that openjdk packages seem to provide for java versions
6 and 7. This should ensure we are correctly requesting *any* java 6+
implementation instead of requiring a specific java package.
  • Loading branch information
jordansissel committed Jan 31, 2014
1 parent d757de6 commit c60f2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ case $os in
--description "$DESCRIPTION" \
--vendor "Elasticsearch" \
--license "Apache 2.0" \
-d "default-jre-headless" \
-d "java-runtime-headless" \
--deb-user root --deb-group root \
--before-install $os/before-install.sh \
--before-remove $os/before-remove.sh \
Expand Down

0 comments on commit c60f2e4

Please sign in to comment.