post_install() {
  echo "Hint: run 'h264enc -r' after installation of optional packages."
}

post_upgrade() {
  if [[ "$2" < "9.4.3" ]]; then
  echo "~/.h264enc/config syntax changed since version 9.4.2. Update it by hands.";
  fi
  if [[ "$2" < "9.5.1" ]]; then
  echo "~/.h264enc/config syntax changed since version 9.5.1. Update it by hands.";
  fi
}