Skip to content

Commit a318293

Browse files
committed
add a comment about syncing alternative group names between modules
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 85953ff commit a318293

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/singleton-jdk/configure.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ fi
1515
# our stated JAVA_VERSION-JAVA_VENDOR (e.g.: 11-openjdk; 1.8.0-openj9)
1616
rpm -e --nodeps $(rpm -qa java-* | grep -v "^java-${JAVA_VERSION}-${JAVA_VENDOR}")
1717

18-
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2089626
18+
# workaround for <https://issues.redhat.com/browse/RHEL-3437>
19+
# The alternative link groups touched here need to match up with those set in
20+
# modules/jdk/*/configure.sh
1921
_arch="$(uname -m)"
2022
for alt in java javac java_sdk_openjdk jre_openjdk; do
21-
alternatives --set "$alt" "$java-${JAVA_VERSION}-${JAVA_VENDOR}.${_arch}"
23+
alternatives --set "$alt" "java-${JAVA_VERSION}-${JAVA_VENDOR}.${_arch}"
2224
done

0 commit comments

Comments
 (0)