This file is indexed.

postinst is in quantum-common 2012.1-0ubuntu4.

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 

if [ "$1" = "configure" ]
then
	if ! getent group quantum > /dev/null 2>&1
	then
		addgroup --system quantum >/dev/null
	fi
	if ! getent passwd quantum > /dev/null 2>&1
	then
		adduser --system --home /var/lib/quantum --ingroup quantum --no-create-home --shell /bin/false quantum
	fi
	chown -R quantum:quantum /var/lib/quantum/ /var/log/quantum/ /etc/quantum/
	chmod 0700 /etc/quantum/ /var/log/quantum/
fi