From: Sven Hoexter Date: Sun, 17 Dec 2017 12:11:55 +0000 (+0100) Subject: update list of binary files shipped in "bin" X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=0c26a5b2161d8f4e915e2e21fa923fa2f24a6daf;p=sven%2Fjava-package.git update list of binary files shipped in "bin" This list is later on used together with update-alternatives and is hard to generate dynamically at the moment because extract only happens later on. Thus for the moment I moved this to the release specific settings which will be filled with the old Java 8 state as a default if unset. --- diff --git a/lib/oracle-jdk.sh b/lib/oracle-jdk.sh index 99c6287..f12d95f 100644 --- a/lib/oracle-jdk.sh +++ b/lib/oracle-jdk.sh @@ -13,6 +13,10 @@ oracle_j2sdk_detect() { j2se_version=${j2se_release}${j2se_update}${revision} j2se_expected_min_size=340 #Mb j2se_binary_subdir="/bin" + oracle_no_man_jre_bin_jre="appletviewer idlj jaotc jar jarsigner java javac javadoc javah javap javapackager javaws jcmd jconsole jcontrol jdb jdeprscan jdeps jhsdb jimage jinfo jjs jlink jmap jmc jmod jps jrunscript jshell jstack jstat jstatd jweblauncher keytool orbd pack200 policytool rmic rmid rmiregistry schemagen serialver servertool tnameserv unpack200 wsgen wsimport xjc" + oracle_bin_jdk=" " + oracle_jre_bin_hl=" " + oracle_jre_bin_jre=" " fi # Update or GA release (jdk-7u15-linux-i586.tar.gz) @@ -110,14 +114,14 @@ EOF oracle_jre_bin_hl="java keytool orbd pack200 rmid rmiregistry servertool tnameserv unpack200 policytool" oracle_jre_bin_jre="policytool" else - oracle_jre_bin_hl="java javaws keytool orbd pack200 rmid rmiregistry servertool tnameserv unpack200 policytool" - oracle_jre_bin_jre="javaws policytool" + oracle_jre_bin_hl="${oracle_jre_bin_hl:-java javaws keytool orbd pack200 rmid rmiregistry servertool tnameserv unpack200 policytool}" + oracle_jre_bin_jre="${oracle_jre_bin_jre:-javaws policytool}" fi if [ "${DEB_BUILD_ARCH:0:3}" != "arm" ]; then - oracle_no_man_jre_bin_jre="ControlPanel jcontrol" + oracle_no_man_jre_bin_jre="${oracle_no_man_jre_bin_jre:-ControlPanel jcontrol}" fi oracle_jre_lib_hl="jexec" - oracle_bin_jdk="appletviewer extcheck idlj jar jarsigner javac javadoc javah javap jcmd jconsole jdb jdeps jhat jinfo jmap jmc jps jrunscript jsadebugd jstack jstat jstatd jvisualvm native2ascii rmic schemagen serialver wsgen wsimport xjc" + oracle_bin_jdk="${oracle_bin_jdk:-appletviewer extcheck idlj jar jarsigner javac javadoc javah javap jcmd jconsole jdb jdeps jhat jinfo jmap jmc jps jrunscript jsadebugd jstack jstat jstatd jvisualvm native2ascii rmic schemagen serialver wsgen wsimport xjc}" j2se_package="$j2se_vendor-java$j2se_release-jdk" j2se_binary_subdir="${j2se_binary_subdir:-/jre/bin}" j2se_run