postinst is in isc-dhcp-server-ldap 4.3.5-3ubuntu7.
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
# Removes the left over diversions of the old package
if [ "$1" = remove -o "$1" = upgrade ]; then
for v in `list_versions`; do
dpkg-divert --package isc-dhcp-server-ldap --remove \
--rename --divert /usr/sbin/dhcpd-noldap \
/usr/sbin/dhcpd
done
fi
|