home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / update-manager.postinst < prev    next >
Encoding:
Text File  |  2009-04-28  |  856 b   |  27 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_scrollkeeper
  4. if [ "$1" = "configure" ] && which scrollkeeper-update >/dev/null 2>&1; then
  5.     scrollkeeper-update -q
  6. fi
  7. # End automatically added section
  8. # Automatically added by dh_icons
  9. if which update-icon-caches >/dev/null 2>&1 ; then
  10.     update-icon-caches /usr/share/icons/hicolor
  11. fi
  12. # End automatically added section
  13. # Automatically added by dh_gconf
  14. if [ "$1" = "configure" ]; then
  15.     gconf-schemas --register update-manager.schemas 
  16. fi
  17. # End automatically added section
  18. # Automatically added by dh_pycentral
  19. rm -f /var/lib/pycentral/update-manager.pkgremove
  20. if which pycentral >/dev/null 2>&1; then
  21.     pycentral pkginstall update-manager
  22.     if grep -qs '^update-manager$' /var/lib/pycentral/delayed-pkgs; then
  23.         sed -i '/^update-manager$/d' /var/lib/pycentral/delayed-pkgs
  24.     fi
  25. fi
  26. # End automatically added section
  27.