27 lines
595 B
Text
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
|
|
|