postinst is in slpd 1.2.1-9.
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 -ex
# 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
if [ ! -e "/etc/init/slpd.conf" ]; then
update-rc.d slpd start 18 2 3 4 5 . stop 22 0 1 6 . >/dev/null
fi
invoke-rc.d slpd start || exit $?
fi
# End automatically added section
|