postinst is in mcollective-server-provisioner 0.0.1~git20110120-0ubuntu3.
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 | #!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/mcollective-server-provisioner" ]; then
if [ ! -e "/etc/init/mcollective-server-provisioner.conf" ]; then
update-rc.d mcollective-server-provisioner defaults >/dev/null
fi
invoke-rc.d mcollective-server-provisioner start || true
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f mcollective-server-provisioner remove >/dev/null || true
# End automatically added section
|