postrm 577 B

123456789101112131415161718192021
  1. #! /bin/sh
  2. case "$1" in
  3. remove)
  4. if test -x /usr/bin/update-mime-database; then
  5. update-mime-database /usr/share/mime
  6. fi
  7. if test -x /usr/bin/update-desktop-database; then
  8. update-desktop-database /usr/share/applications
  9. fi
  10. if test -x /usr/bin/hildon-update-category-database; then
  11. hildon-update-category-database /usr/share/mime
  12. fi
  13. if test -x /usr/bin/gtk-update-icon-cache; then
  14. /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
  15. fi
  16. ;;
  17. esac