OpenSearch/distribution/packages
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
..
deb Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
oss-deb Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00
oss-rpm Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00
rpm Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
src Fix error message when package install fails due to missing Java (#36077) 2018-12-03 10:43:36 +02:00
build.gradle Conditional conffiles for packages (#36046) 2018-11-30 15:16:23 +02:00