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