This file is indexed.

postinst is in bogofilter-bdb 1.2.4+dfsg1-12.

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
#!/bin/sh

set -e

util=bdb

# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper dir_to_symlink /usr/share/doc/bogofilter-bdb /usr/share/doc/bogofilter-common 1.2.4\+dfsg1-8\~ -- "$@"
# End automatically added section


case "$1" in
    configure|abort-upgrade)
        update-alternatives --quiet --install \
            /usr/bin/bogofilter bogofilter /usr/bin/bogofilter-${util} 20 \
            --slave /usr/bin/bogoupgrade bogoupgrade /usr/bin/bogoupgrade-${util} \
            --slave /usr/bin/bogotune bogotune /usr/bin/bogotune-${util} \
            --slave /usr/bin/bf_copy bf_copy /usr/bin/bf_copy-${util} \
            --slave /usr/bin/bogolexer bogolexer /usr/bin/bogolexer-${util} \
            --slave /usr/bin/bogoutil bogoutil /usr/bin/bogoutil-${util} \
            --slave /usr/bin/bf_compact bf_compact /usr/bin/bf_compact-${util} \
            --slave /usr/bin/bf_tar bf_tar /usr/bin/bf_tar-${util}
        ;;
    *)
        echo "postint called with unknown argument \`$1'" >&2
        exit 1
        ;;
esac