postinst is in libpam-ssh 2.1+ds1-1.
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 20 21 22 | #!/bin/sh
set -e
case "$1" in
configure)
if [ -f /etc/init.d/libpam-ssh ]; then
echo -n "Removing trailing old script.."
update-rc.d -f libpam-ssh remove > /dev/null 2>&1
echo -n "."
rm -f /etc/init.d/libpam-ssh > /dev/null 2>&1
echo "Ok."
fi
## Install setup files in /usr/share/pam-configs.
pam-auth-update --package
;;
abort-upgrade|abort-remove|abort-deconfigure)
## Do nothing.
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
|