void-packages/srcpkgs/jre/INSTALL
2013-01-04 16:24:23 +01:00

27 lines
595 B
Text

#
# 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