void-packages/srcpkgs/jre/INSTALL

28 lines
595 B
Plaintext

#
# This script will advise the user to read the license for JRE
# and to re-login to have JRE included in PATH
#
case "${ACTION}" in
pre)
;;
post)
ldconfig -r .
cat << _EOF
=====================================================================
- The Oracle JRE package is licensed software.
You MUST read and agree to the license stored in
/usr/share/licenses/jre/LICENSE before using it.
- Please re-login to include JRE in your PATH or re-source
/etc/profile:
$ source /etc/profile
=====================================================================
_EOF
;;
esac