This file is indexed.

prerm is in dictionaries-common 1.12.1ubuntu2.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#! /bin/sh
# prerm script for dictionaries-common
# Written by Rafael Laboissiere <rafael@debian.org> on 
# Mon Oct 18 16:17:08 CEST 1999

set -e

case "$1" in
    remove|deconfigure)
	rm -f /etc/dictionaries-common/default.aff \
	    /etc/dictionaries-common/default.hash \
	    /etc/dictionaries-common/words \
	    /etc/dictionaries-common/ispell-default
	rm -f /var/cache/dictionaries-common/*
	if [ -L /usr/dict ]; then
	    rm /usr/dict
	fi
	;;
    
    upgrade) ;;
    
    *)
	echo "prerm called with unknown argument \`$1'" >&2
	exit 0
	
esac

# Verifying that there are emacsen installed before calling emacs-package-remove
if [ -x /usr/lib/emacsen-common/emacs-package-remove ] && [ -e /var/lib/emacsen-common/installed-flavors ]; then
    /usr/lib/emacsen-common/emacs-package-remove dictionaries-common
fi



exit 0