summaryrefslogtreecommitdiff
path: root/scripts/update-java-alternatives
diff options
context:
space:
mode:
authorEmmanuel Bourg <ebourg@apache.org>2017-01-06 13:31:22 +0100
committerEmmanuel Bourg <ebourg@apache.org>2017-01-06 13:31:22 +0100
commit972cc52677e5244419f7967a85043a891d79a3a8 (patch)
treeebc590f8b55b150e2db4baee3f9f666fc726f749 /scripts/update-java-alternatives
parent92e8b1dc9ab7fcf3a4b4668e5d13f58e48ad3468 (diff)
downloadjava-common-972cc52677e5244419f7967a85043a891d79a3a8.tar.gz
Fixed update-java-alternatives to work with the new jdk-headless packages (Closes: #825987)
Diffstat (limited to 'scripts/update-java-alternatives')
-rwxr-xr-xscripts/update-java-alternatives2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-java-alternatives b/scripts/update-java-alternatives
index 9eea19c..9fac614 100755
--- a/scripts/update-java-alternatives
+++ b/scripts/update-java-alternatives
@@ -63,7 +63,7 @@ done
[ "$#" -eq 0 ] || usage 1
[ -n "$action" ] || usage 1
-which='^(hl|jre|jdk|plugin|DUMMY) '
+which='^(hl|jre|jdk|jdkhl|plugin|DUMMY) '
if [ -n "$hlonly$jreonly$pluginonly" ]; then
which='^('
[ -n "$hlonly" ] && which="${which}hl|"