# ----- JPackage stuff ------if[-d/usr/lib/jvm/jre-1.4.2-sun/lib/security];then
# Need to remove the old jars in order to support upgrading, ugly :(# update-alternatives fails silently if the link targets exist as files.rm-f/usr/lib/jvm/jre-1.4.2-sun/lib/security/{local,US_export}_policy.jar
fi
# %ifnarch x86_64# if [ -f /etc/mime.types ]; then# /usr/bin/subst 's|application/x-java-jnlp-file.*||g' /etc/mailcap.bak 2>/dev/null# echo "type=application/x-java-jnlp-file; description=\"Java Web Start\"; exts=\"jnlp\"" >> /etc/mailcap 2>/dev/null# /usr/bin/subst 's|application/x-java-jnlp-file.*||g' /etc/mime.types 2>/dev/null# echo "application/x-java-jnlp-file jnlp" >> /etc/mime.types 2>/dev/null# fi# %endif# ----- JPackage stuff ------