This file is indexed.

postinst is in linux-headers-4.15.0-46-generic 4.15.0-46.49~16.04.1.

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

version=4.15.0-46-generic

if [ "$1" != configure ]; then
    exit 0
fi

if [ -d /etc/kernel/header_postinst.d ]; then
    DEB_MAINT_PARAMS="$*" run-parts --report --exit-on-error --arg=$version \
		/etc/kernel/header_postinst.d
fi

exit 0