From 5b5745669bee3d5b87199fb86ad9513e3631e27b Mon Sep 17 00:00:00 2001 From: lutkerd Date: Mon, 25 Mar 2024 20:35:10 +0000 Subject: [PATCH] Fix AL jre alternative path --- installers/linux/al2/spec/java-amazon-corretto.spec.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/linux/al2/spec/java-amazon-corretto.spec.template b/installers/linux/al2/spec/java-amazon-corretto.spec.template index 4a672349018..b0b8d36d229 100644 --- a/installers/linux/al2/spec/java-amazon-corretto.spec.template +++ b/installers/linux/al2/spec/java-amazon-corretto.spec.template @@ -322,7 +322,7 @@ if [ \$1 -eq 1 ] ; then # Need to setup the jre alternatives separately when there is a higher priority jre java these don't get created above. alternatives --install %{_jvmdir}/jre-%{java_major_version} jre_%{java_major_version} %{java_home} %{alternatives_priority} \ - --slave %{_jvmdir}/jre-%{java_major_version}-openjdk jre_%{java_major_version}_openjdk %{java_home}/jre + --slave %{_jvmdir}/jre-%{java_major_version}-openjdk jre_%{java_major_version}_openjdk %{java_home} fi %post devel