This file is indexed.

prerm is in dictionaries-common 1.26.3.

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
36
37
38
39
40
41
42
43
44
45
46
47
48
#! /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/ispell-default
    for i in /etc/dictionaries-common/default.aff \
      /etc/dictionaries-common/default.hash \
      /etc/dictionaries-common/words \
      /usr/lib/ispell/default.aff \
      /usr/lib/ispell/default.hash \
      /usr/share/dict/words; do
      if [ -L "$i" ]; then
	rm -f "$i"
      elif [ -e "$i" ]; then
	echo "dictionaries-common.prerm: leaving behind non-symlink \"$i\"" >&2
      fi
    done
    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

# Automatically added by dh_installemacsen
if [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common -a -x /usr/lib/emacsen-common/emacs-package-remove ] ; then
	/usr/lib/emacsen-common/emacs-package-remove --prerm dictionaries-common
fi
# End automatically added section


exit 0

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