void-packages/srcpkgs/jre/INSTALL

28 lines
595 B
Text
Raw Normal View History

2011-10-13 23:26:18 +00:00
#
# 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)
2011-10-14 06:12:28 +00:00
ldconfig -r .
2011-10-13 23:26:18 +00:00
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.
2013-01-04 15:24:23 +00:00
- Please re-login to include JRE in your PATH or re-source
/etc/profile:
$ source /etc/profile
2011-10-13 23:26:18 +00:00
=====================================================================
_EOF
;;
esac