Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix java_home alternative #436

Merged
merged 1 commit into from
Dec 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ popd
if [ $1 -eq 1 ] ; then
alternatives --install %{_bindir}/javac javac %{java_home}/bin/javac %{alternatives_priority} \
--slave %{_jvmdir}/java java_sdk %{java_home} \
--slave %{_jvmdir}/%{name} %{name} %{java_home} \
--slave %{_bindir}/appletviewer appletviewer %{java_home}/bin/appletviewer \
--slave %{_bindir}/extcheck extcheck %{java_home}/bin/extcheck \
--slave %{_bindir}/idlj idlj %{java_home}/bin/idlj \
Expand Down Expand Up @@ -252,6 +251,7 @@ fi
%post
if [ $1 -eq 1 ] ; then
alternatives --install %{_bindir}/java java %{java_home}/jre/bin/java %{alternatives_priority} \
--slave %{_jvmdir}/%{name} %{name} %{java_home} \
--slave %{_jvmdir}/jre jre %{java_home}/jre \
--slave %{_jvmdir}/jre-openjdk jre_openjdk %{java_home}/jre \
--slave %{_bindir}/jjs jjs %{java_home}/jre/bin/jjs \
Expand Down