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 / ttf-mgopen.postinst < prev    next >
Encoding:
Text File  |  2005-10-25  |  461 b   |  18 lines

  1. #!/bin/sh
  2.  
  3. # Automatically added by dh_installdefoma
  4. FILE='/etc/defoma/hints/ttf-mgopen.hints'
  5. if [ "$1" = configure ]; then
  6.     /usr/bin/defoma-font reregister-all $FILE
  7. fi
  8. # End automatically added section
  9.  
  10.  
  11. if [ "$1" = configure -a -x /usr/bin/fc-cache ]; then
  12.     echo -n "Regenerating fonts cache... "
  13.     HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \
  14.     (echo "failed; see /var/log/fontconfig.log for more information."; \
  15.      exit 1)
  16.     echo "done."
  17. fi
  18.