home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / var / lib / dpkg / info / language-selector-common.postinst < prev    next >
Encoding:
Text File  |  2006-08-29  |  1.2 KB  |  52 lines

  1. #! /bin/sh
  2. # postinst script for pango-libthai
  3. #
  4. # see: dh_installdeb(1)
  5.  
  6. set -e
  7.  
  8. # summary of how this script can be called:
  9. #        * <postinst> `configure' <most-recently-configured-version>
  10. #        * <old-postinst> `abort-upgrade' <new version>
  11. #        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
  12. #          <new-version>
  13. #        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
  14. #          <failed-install-package> <version> `removing'
  15. #          <conflicting-package> <version>
  16. # for details, see http://www.debian.org/doc/debian-policy/ or
  17. # the debian-policy package
  18. #
  19.  
  20. case "$1" in
  21.     configure)
  22.     fontconfig-voodoo --auto --quiet || true
  23.     ;;
  24.  
  25.     abort-upgrade|abort-remove|abort-deconfigure)
  26.  
  27.     ;;
  28.  
  29.     *)
  30.         echo "postinst called with unknown argument \`$1'" >&2
  31.         exit 1
  32.     ;;
  33. esac
  34.  
  35. # dh_installdeb will replace this with shell code automatically
  36. # generated by other debhelper scripts.
  37.  
  38. # Automatically added by dh_python
  39. PYTHON=python2.4
  40. if which $PYTHON >/dev/null 2>&1 && [ -e /usr/lib/$PYTHON/compileall.py ]; then
  41.     DIRLIST="/usr/lib/python2.4/site-packages"
  42.     for i in $DIRLIST ; do
  43.         $PYTHON /usr/lib/$PYTHON/compileall.py -q $i
  44.     done
  45. fi
  46. # End automatically added section
  47.  
  48.  
  49. exit 0
  50.  
  51.  
  52.