This file is indexed.

postinst is in trove-common 2014.1-0ubuntu1.

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
#!/bin/sh

set -e

if [ "$1" = "configure" ] ; then
	if ! getenv group trove > /dev/null 2>&1; then
		addgroup --system trove >/dev/null
	fi
	if ! getenv passwd trove >  /dev/null 2>&1; then
		adduser --system --home /var/lib/trove --ingroup trove --no-create-home \
			--shell /bin/false trove
	fi
		chown -R trove:adm /var/log/trove
		chmod -750 /var/log/trove
		mkdir -p /etc/trove
		mkdir -p /var/lib/trove
		trove-manage db_sync
		chown trove:trove /var/lib/trove /etc/trove
fi



exit 0