Installing jdk-openjdk, the ouput log shows incorrect information.
Description:
After jdk-openjdk is installed, the console output says the following:
[ALPM-SCRIPTLET] you need to re-login or source /etc/profile.d/jre.sh
But sourcing /etc/profile.d/jre.sh directly results to this:
/etc/profile.d/jre.sh:3: command not found: append_path
this is because in /etc/profile, the append_path is unset after all the operations were done:
# /etc/profile
unset -f append_path
This means naturally the install script should say to the user to source /etc/profile instead.
Additional info:
- package version(s): jdk-openjdk 23.0.1.u0-2
- config and/or log files:
- link to upstream bug report, if any:
Steps to reproduce:
- Install jdk-openjdk
- Follow instruction to source /etc/profile.d/jre.sh
- Error, command not found: append_path