home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / language-selector-common.postinst < prev    next >
Encoding:
Text File  |  2009-05-08  |  1.3 KB  |  53 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. # Automatically added by dh_pycentral
  21. rm -f /var/lib/pycentral/language-selector-common.pkgremove
  22. if which pycentral >/dev/null 2>&1; then
  23.     pycentral pkginstall language-selector-common
  24.     if grep -qs '^language-selector-common$' /var/lib/pycentral/delayed-pkgs; then
  25.         sed -i '/^language-selector-common$/d' /var/lib/pycentral/delayed-pkgs
  26.     fi
  27. fi
  28. # End automatically added section
  29.  
  30.  
  31. case "$1" in
  32.     configure)
  33.     fontconfig-voodoo --auto --quiet || true
  34.     ;;
  35.  
  36.     abort-upgrade|abort-remove|abort-deconfigure)
  37.  
  38.     ;;
  39.  
  40.     *)
  41.         echo "postinst called with unknown argument \`$1'" >&2
  42.         exit 1
  43.     ;;
  44. esac
  45.  
  46. # dh_installdeb will replace this with shell code automatically
  47. # generated by other debhelper scripts.
  48.  
  49.  
  50. exit 0
  51.  
  52.  
  53.