home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / shared-mime-info.postinst < prev    next >
Encoding:
Text File  |  2009-02-24  |  678 b   |  26 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. if [ "$1" = "triggered" ]; then
  5.     if [ -x /usr/bin/update-mime-database.real ]; then
  6.         update-mime-database.real /usr/share/mime
  7.     fi
  8.     exit 0
  9. fi
  10.  
  11. if [ -x /usr/bin/update-mime-database.real ]; then
  12.     update-mime-database.real /usr/share/mime
  13. fi
  14.  
  15. # Automatically added by dh_installdocs
  16. if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
  17.     install-docs -i /usr/share/doc-base/shared-mime-info
  18. fi
  19. # End automatically added section
  20. # Automatically added by dh_installmime
  21. if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then
  22.     update-mime-database /usr/share/mime
  23. fi
  24. # End automatically added section
  25.  
  26.