This file is indexed.

postinst is in slpd 1.2.1-11.

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

set -e

# update init script symlinks with new priorities when upgrading
# from older versions
if [ "$1" = configure ] && dpkg --compare-versions "$2" le 1.2.1-7.6; then
	echo "Reinstalling init script for new priorities ..." >&2
	update-rc.d slpd remove >/dev/null
fi

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