This file is indexed.

postinst is in console-setup-mini 1.108ubuntu15.

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

set -e

# Source debconf library.
. /usr/share/debconf/confmodule

# turn around bug in dpkg (#17624)
# The following line should be uncommented before the next stable
# release of Debian.
#if dpkg --compare-versions "$2" lt-nl 1.82; then
    # Replace directory with symlink.
    if \
        [ ! -L /usr/share/doc/console-setup-mini ] \
        && [ -d /usr/share/doc/console-setup-mini ]
    then
	if rmdir /usr/share/doc/console-setup-mini 2>/dev/null; then
	    ln -sf keyboard-configuration /usr/share/doc/console-setup-mini
	fi
    fi
#fi

# This works even if we are not on the console
setupcon --save-only || true
# This will protest if we are not on the console
setupcon 2>/dev/null || true