post_install() {
  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}

post_upgrade() {
  post_install $1

  if [ "$(vercmp $2 0.9.4-3)" -lt 0 ]; then
    echo "==> The handbrake CLI binary is now in a separate package: handbrake-cli"
  fi
}

post_remove() {
  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}