HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
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.5.2ubuntu1
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: