postinst is in drizzle-plugin-auth-file 2011.03.13-0ubuntu5.
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
set -e
case "$1" in
configure)
if ! [ -e /etc/drizzle/drizzle.users ] ; then
install -m 0640 -o drizzle -g drizzle /dev/null /etc/drizzle/drizzle.users
echo \# This file was created automatically during install > /etc/drizzle/drizzle.users
echo -n root: >> /etc/drizzle/drizzle.users
pwgen -s 14 >> /etc/drizzle/drizzle.users
fi
;;
*)
;;
esac
|