home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / sane-utils.postrm < prev    next >
Encoding:
Text File  |  2009-03-27  |  512 b   |  22 lines

  1. #!/bin/sh
  2.  
  3. if [ "$1" = purge ]; then
  4.     if [ -x /usr/sbin/update-inetd ]; then
  5.     update-inetd --remove sane-port
  6.     update-inetd --remove "#<off># sane-port"
  7.     fi
  8. fi
  9.  
  10. # Automatically added by dh_installdebconf
  11. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  12.     . /usr/share/debconf/confmodule
  13.     db_purge
  14. fi
  15. # End automatically added section
  16. # Automatically added by dh_installinit
  17. if [ "$1" = "purge" ] ; then
  18.     update-rc.d saned remove >/dev/null || saned_eh
  19. fi
  20. # End automatically added section
  21.  
  22.