postinst is in libldap-2.4-2 2.4.28-1.1ubuntu4.6.
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 | #!/bin/sh
#
# Run ldconfig after installing the shared library. We have to do this
# manually rather than letting dh_makeshlibs deal with it because
# dh_makeshlibs can't cope with the trick we're pulling with libldap_r.
set -e
if [ "$1" = "configure" ]; then
ldconfig
fi
exit 0
|