1. post_install() {
  2. update-desktop-database -q
  3. }
  4.  
  5. post_remove() {
  6. update-desktop-database -q
  7. }