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

post_upgrade() {
  if (($(vercmp $2 1.4.0-1) < 0)); then
    echo ':: Xfce Power Manager no longer provides a tray icon.'
    echo '   Instead, it includes panel plugins for Xfce and LXDE.'
  fi

  post_install
}

post_remove() {
  post_install
}

# vim:set ts=2 sw=2 et:
