postinst is in nagios-plugins-basic 1.5-3ubuntu1.
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 | #!/bin/sh -e
templdir=/usr/share/nagios-plugins/templates-basic
. /usr/share/nagios-plugins/dpkg/functions
if [ "$1" = "configure" ]; then
register_cfgs $2
fi
|