This file is indexed.

postinst is in hsqldb-server 1.8.0.10-9ubuntu2.

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

set -e

getent passwd hsqldb >/dev/null 2>&1 ||
	adduser --system --shell /bin/bash --no-create-home --home /var/lib/hsqldb --group --gecos "HSQLDB system user" hsqldb

chown hsqldb:hsqldb /var/lib/hsqldb
chmod 600 /etc/hsqldb/sqltool.rc

# Automatically added by dh_installinit
if [ -x "/etc/init.d/hsqldb-server" ]; then
	if [ ! -e "/etc/init/hsqldb-server.conf" ]; then
		update-rc.d hsqldb-server defaults >/dev/null
	fi
	invoke-rc.d hsqldb-server start || exit $?
fi
# End automatically added section