%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/lib/dpkg/info/
Upload File :
Create Path :
Current File : /var/lib/dpkg/info/dictionaries-common.postrm

#! /bin/sh
# postrm script for dictionaries-common

set -e

# Once wamerican is the only standard dict package and it does not
# depend on dictionaries-common it will provide an own
# /usr/share/dict/words pointing to american wordlist. This was
# diverted if dictionaries-common is used. We need to remove that
# diversion if dictionaries-common is removed
if [ "$1" = "remove" ]; then
  dpkg-divert --package dictionaries-common \
    --rename --remove /usr/share/dict/words
fi

#  Make sure /etc/openoffice myspell stuff is removed on purge

if [ "$1" = "purge" ]; then
  rm -f /etc/openoffice/dictionary.lst /etc/openoffice/dictionary.lst.old
fi

# Automatically added by dh_installdebconf/13.11.7ubuntu1
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section


exit 0

# Local Variables:
#  sh-basic-offset: 2
#  sh-indentation: 2
# End:

Zerion Mini Shell 1.0