home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / evolution.postrm < prev    next >
Encoding:
Text File  |  2009-05-15  |  997 b   |  23 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installmenu
  4. if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
  5. # End automatically added section
  6. # Automatically added by dh_gconf
  7. if which update-gconf-defaults >/dev/null 2>&1; then
  8.     update-gconf-defaults
  9. fi
  10. # End automatically added section
  11. # Automatically added by dh_gconf
  12. if [ "$1" = purge ]; then
  13.     OLD_DIR=/etc/gconf/schemas
  14.     SCHEMA_FILES="apps-evolution-attachment-reminder.schemas apps-evolution-external-editor.schemas apps-evolution-mail-notification.schemas apps-evolution-mail-prompts-checkdefault.schemas apps-evolution-template-placeholders.schemas apps_evolution_addressbook.schemas apps_evolution_calendar.schemas apps_evolution_email_custom_header.schemas apps_evolution_shell.schemas bogo-junk-plugin.schemas evolution-mail.schemas "
  15.     if [ -d $OLD_DIR ]; then
  16.         for SCHEMA in $SCHEMA_FILES; do
  17.             rm -f $OLD_DIR/$SCHEMA
  18.         done
  19.         rmdir -p --ignore-fail-on-non-empty $OLD_DIR
  20.     fi
  21. fi
  22. # End automatically added section
  23.