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