postinst is in voms-server 2.1.0~rc0-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 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #!/bin/sh
set -e
if test "$1" = "configure" -o "$1" = "reconfigure" ; then
    test -r /etc/default/voms && . /etc/default/voms
    if test -z "$VOMS_USER" -o "$VOMS_USER" = "voms" ; then
	getent group voms > /dev/null || \
	    addgroup --quiet --system voms
	getent passwd voms > /dev/null || \
	    adduser --quiet --system --home /etc/voms --shell /bin/false \
	    --ingroup voms --disabled-password --disabled-login \
	    --gecos "VOMS Server Account" voms
	chown voms:voms /var/log/voms
    fi
fi
# Automatically added by dh_installinit/11.1.4ubuntu1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
	if [ -x "/etc/init.d/voms" ]; then
		update-rc.d voms defaults-disabled >/dev/null
		invoke-rc.d voms start || exit 1
	fi
fi
# End automatically added section
 |