This file is indexed.

postinst is in blktrace 1.1.0-2.

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

set -e

# update init script symlinks for new runlevels and priorities for upgrades
# from older versions
if [ "$1" = configure ] && dpkg --compare-versions "$2" lt 1.0.5-1;  then
    echo "Reinstalling init script for new runlevels and priorities ..." >&2
    # remove old init script symlinks; dh_installinit adds the proper
    # update-rc.d snippet later on
    update-rc.d -f mountdebugfs remove >/dev/null
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/mountdebugfs" ]; then
	update-rc.d mountdebugfs defaults >/dev/null
fi
if [ -x "/etc/init.d/mountdebugfs" ] || [ -e "/etc/init/mountdebugfs.conf" ]; then
	invoke-rc.d mountdebugfs start || exit $?
fi
# End automatically added section