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

  1. #!/bin/sh
  2.  
  3. STAMP=/var/lib/update-notifier/dpkg-run-stamp
  4.  
  5. if [ "$1" = purge -a -f $STAMP ]; then
  6.     rm $STAMP
  7. fi
  8.  
  9. # Automatically added by dh_gconf
  10. if [ "$1" = purge ]; then
  11.     OLD_DIR=/etc/gconf/schemas
  12.     SCHEMA_FILES="update-notifier.schemas "
  13.     if [ -d $OLD_DIR ]; then
  14.         for SCHEMA in $SCHEMA_FILES; do
  15.             rm -f $OLD_DIR/$SCHEMA
  16.         done
  17.         rmdir -p --ignore-fail-on-non-empty $OLD_DIR
  18.     fi
  19. fi
  20. # End automatically added section
  21.  
  22.