home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / evolution.postrm < prev    next >
Encoding:
Text File  |  2007-04-10  |  819 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 [ "$1" = purge ]; then
  8.     OLD_DIR=/etc/gconf/schemas
  9.     SCHEMA_FILES="apps-evolution-mail-prompts-checkdefault-2.10.schemas apps_evolution_addressbook-2.10.schemas apps_evolution_calendar-2.10.schemas apps_evolution_shell-2.10.schemas evolution-mail-2.10.schemas "
  10.     if [ -d $OLD_DIR ]; then
  11.         for SCHEMA in $SCHEMA_FILES; do
  12.             rm -f $OLD_DIR/$SCHEMA
  13.         done
  14.         rmdir -p --ignore-fail-on-non-empty $OLD_DIR
  15.     fi
  16. fi
  17. # End automatically added section
  18. # Automatically added by dh_desktop
  19. if [ "$1" = "remove" ] && which update-desktop-database >/dev/null 2>&1 ; then
  20.     update-desktop-database -q
  21. fi
  22. # End automatically added section
  23.