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 / dictionaries-common.postrm < prev    next >
Encoding:
Text File  |  2006-12-19  |  525 b   |  24 lines

  1. #! /bin/sh
  2. # postrm script for dictionaries-common
  3.  
  4. set -e
  5.  
  6. #  Make sure /etc/openoffice myspell stuff is removed on purge
  7.  
  8. if [ "$1" = "purge" ]; then
  9.     rm -f /etc/openoffice/dictionary.lst /etc/openoffice/dictionary.lst.old
  10.     if [ -d /etc/openoffice/ ]; then
  11.     rmdir --ignore-fail-on-non-empty /etc/openoffice/
  12.     fi
  13. fi
  14.  
  15. # Automatically added by dh_installdebconf
  16. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  17.     . /usr/share/debconf/confmodule
  18.     db_purge
  19. fi
  20. # End automatically added section
  21.  
  22.  
  23. exit 0
  24.