post_install() {
  if [ ! -f /etc/ssl/certs/java/cacerts ]; then
    /usr/bin/init-jks-keystore
  fi
  echo "When you use a non-reparenting window manager"
  echo "set _JAVA_AWT_WM_NONREPARENTING=1 in the relevant"
  echo "/etc/profile.d/openjdk8.* file."
}

post_upgrade() {
  post_install
}
