6 echo "The jre package is licensed software."
7 echo "You MUST read and agree to the license stored in"
8 echo "/opt/java/jre/LICENSE before using it."
9 if [ -f /etc/mailcap ] ; then
10 sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap
12 echo 'application/x-java-jnlp-file;/opt/java/jre/bin/javaws %s' >>/etc/mailcap
16 mailcap=$(grep -v 'application/x-java-jnlp-file' /etc/mailcap)
17 if [ "$mailcap" != "" ] ; then
18 sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap