2 echo "The jre package is licensed software."
3 echo "You MUST read and agree to the license stored in"
4 echo "/opt/java/jre/LICENSE before using it."
5 if [ -f /etc/mailcap ] ; then
6 sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap
8 echo 'application/x-java-jnlp-file;/opt/java/jre/bin/javaws %s' >>/etc/mailcap
10 echo 'Please relogin to include jre in your PATH.'
14 mailcap=$(grep -v 'application/x-java-jnlp-file' /etc/mailcap)
15 if [ "$mailcap" != "" ] ; then
16 sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap