This file is indexed.

postinst is in console-common 0.7.88.

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

set -e

# Automatically added by dh_consoledata
if [ "$1" = "configure" ]
then
  # Do nothing if console-common is not installed.
  if [ -x /usr/share/console/getkmapchoice.pl ] 
  then 
      . /usr/share/debconf/confmodule
      # If the entry contains a / it's broken so overwrite it with a default
      # value.  See see #110873
      if db_get console-data/keymap/full && echo "$RET" | grep -q "/"; then
          db_set console-data/keymap/full us
      fi
      echo >&2 "Looking for keymap to install:"
      if /usr/share/console/getkmapchoice.pl
      then
  	install-keymap `PERL_BADLANG=0 \
	   /usr/share/console/getkmapchoice.pl 2>&1 | tail -n 1`
      fi
  fi
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/keymap.sh" ] || [ -e "/etc/init/keymap.sh.conf" ]; then
	if [ ! -e "/etc/init/keymap.sh.conf" ]; then
		update-rc.d keymap.sh start 05 S . >/dev/null
	fi
	invoke-rc.d keymap.sh start || exit $?
fi
# End automatically added section