postinst is in krb5-sync-tools 3.1-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 | #!/bin/sh
set -e
# Create the spool lock file on package installation since krb5-sync-backend
# requires that it exist. The module will create it as needed, but doesn't
# guarantee that it's already there.
if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
if [ ! -f /var/spool/krb5-sync/.lock ] ; then
touch /var/spool/krb5-sync/.lock
chmod 600 /var/spool/krb5-sync/.lock
fi
fi
exit 0
|