OpenSearch/distribution
Dimitrios Liappis 6a773d7d51
Fix error message when package install fails due to missing Java (#36077)
Currently is `java` is not in $PATH the preinst script fails
prematurely and prevents an appropriate message from getting displayed
to the user.

Make package installation more user friendly when java is not in
$PATH and add a test for it.

Also use a she-bang in the preinst script, as, at least in Debian,
maintainer scripts must start with the #! convention [1].

Relates #31845

[1] https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
2018-12-03 10:43:36 +02:00
..
archives Test: Fix running with external cluster 2018-10-15 15:13:20 -04:00
bwc Introduce build qualifier parameter (#35155) 2018-11-02 05:27:40 +02:00
packages Fix error message when package install fails due to missing Java (#36077) 2018-12-03 10:43:36 +02:00
src Fix error message when package install fails due to missing Java (#36077) 2018-12-03 10:43:36 +02:00
tools Move creation of temporary directory to Java (#36002) 2018-11-28 16:55:59 -05:00
build.gradle Fix extractjar task ci (#33272) 2018-09-03 10:18:34 +03:00