#! /bin/sh
set -e

case "$1" in
       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
          if [ -x "`which update-desktop-database 2>/dev/null`" ]; then 
              update-desktop-database -q
          fi
        ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1

esac

#DEBHELPER#

exit 0
