home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / metacity-common.postinst < prev    next >
Encoding:
Text File  |  2007-05-02  |  1008 b   |  32 lines

  1. #!/bin/sh -e
  2.  
  3. # clean up old catalogs installed by the metacity package in the past
  4. # (to be dropped after etch releases)
  5. /usr/sbin/install-sgmlcatalog --quiet --remove metacity || true
  6. /usr/sbin/update-catalog --quiet --remove --super /etc/sgml/metacity.cat || true
  7. rm -f /etc/sgml/metacity.cat /etc/sgml/metacity.cat.old
  8.  
  9. # Automatically added by dh_installcatalogs
  10. if [ "$1" = "configure" ]; then
  11.     rm -f /etc/sgml/metacity-common.cat
  12.     for ordcat in /usr/share/sgml/metacity-common/catalog; do
  13.         update-catalog --quiet --add /etc/sgml/metacity-common.cat ${ordcat}
  14.     done
  15.     update-catalog --quiet --add --super /etc/sgml/metacity-common.cat
  16. fi
  17. # End automatically added section
  18. # Automatically added by dh_gconf
  19. if [ "$1" = "configure" ] && which update-gconf-defaults >/dev/null 2>&1; then
  20.     update-gconf-defaults
  21. fi
  22. # End automatically added section
  23. # Automatically added by dh_gconf
  24. if [ "$1" = "configure" ]; then
  25.     gconf-schemas --register metacity.schemas 
  26. fi
  27. # End automatically added section
  28.  
  29.  
  30. exit 0
  31.  
  32.