This file is indexed.

postinst is in python3-postgresql 1.0.2-1.

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
33
34
35
36
37
38
39
40
41
42
#!/bin/sh
set -e

# Automatically added by dh_python3:
if which py3compile >/dev/null 2>&1; then
	py3compile -p python3-postgresql 
fi

# End automatically added section
# Automatically added by dh_usrlocal
if [ "$1" = configure ]; then
(
	while read line; do
		set -- $line
		dir="$1"; mode="$2"; user="$3"; group="$4"
		if [ ! -e "$dir" ]; then
			if mkdir "$dir" 2>/dev/null; then
				chown "$user":"$group" "$dir"
				chmod "$mode" "$dir"
			fi
		fi
	done
) << DATA
/usr/local/lib 2775 root staff
/usr/local/lib/python3.2 2775 root staff
/usr/local/lib/python3.2/dist-packages 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/types 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/types/io 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/resolved 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/release 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/port 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/python 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/test 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/driver 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/protocol 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/lib 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/encodings 2775 root staff
/usr/local/lib/python3.2/dist-packages/postgresql/bin 2775 root staff
DATA
fi
# End automatically added section