This file is indexed.

postinst is in console-tools 1:0.2.3dbs-65.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
#!/bin/sh

# Ensure this is deleted. May be left behind by mistake from old
# upgrade.

rm -rf /usr/share/doc/console-tools-libs

# Install configuration file if it is not already present
if [ ! -e /etc/console-tools/config ]; then
    install -D -m 644 /usr/share/console-tools/config /etc/console-tools/config
fi

# Move the init script symlink
if [ -L /etc/rcS.d/S48console-screen.sh ]; then
	update-rc.d -f console-screen.sh remove
fi

if type update-initramfs >/dev/null 2>&1; then
	update-initramfs -u
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/console-screen.sh" ]; then
	update-rc.d console-screen.sh start 90 S . >/dev/null
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d console-screen.sh start || exit $?
	else
		/etc/init.d/console-screen.sh start || exit $?
	fi
fi
# End automatically added section