preinst is in auth2db 0.2.5-2+dfsg-4.
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
DATADIR=/var/lib/auth2db
if ! getent passwd auth2db >/dev/null; then
# Adding system user: auth2db.
adduser \
--system \
--disabled-login \
--ingroup adm \
--home $DATADIR \
--gecos "Auth2db Log Parser" \
--shell /bin/false \
auth2db >/dev/null
fi
|