case "$ACTION" in
pre)
. usr/lib/jvm/oracle-jre-vars.sh
rm -r usr/lib/jvm/jre$ORACLE_JRE_LONG_VERSION
rm -r usr/lib/jvm/$PKGNAME
;;
esac