This file is indexed.

postinst is in installation-report 2.54ubuntu1.

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


if [ "$1" = configure ] && dpkg --compare-versions "$2" lt 2.13; then
	for file in /var/log/installer/cdebconf/*.dat \
		/var/log/installer/syslog /var/log/installer/messages \
		/var/log/installer/partman; do
		if [ -e "$file" ]; then
			chmod 600 $file
		fi
	done
fi

if [ "$1" = configure ] && dpkg --compare-versions "$2" lt 2.32; then
	update-rc.d installation-report remove
fi

if [ "$1" = configure ] && dpkg --compare-versions "$2" lt 2.39ubuntu4; then
	if [ -e /var/log/installer/media-info ]; then
		chmod 644 /var/log/installer/media-info
	fi
fi