This file is indexed.

postinst is in python-wxgtk2.6 2.6.3.2.2-5ubuntu4.

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

for pyver in 2.7; do
	case "$pyver" in
	  2.3|2.4|2.5) pylib=/usr/lib/python$pyver/site-packages;;
	  *) pylib=/usr/lib/python$pyver/dist-packages;;
	esac
	mkdir -p $pylib
	update-alternatives --install $pylib/wx.pth  wx$pyver.pth	\
 			      /usr/lib/wx/python/wx2.6.pth        26
done;

# Automatically added by dh_pycentral
rm -f /var/lib/pycentral/python-wxgtk2.6.pkgremove
if which pycentral >/dev/null 2>&1; then
	pycentral pkginstall python-wxgtk2.6
	if grep -qs '^python-wxgtk2.6$' /var/lib/pycentral/delayed-pkgs; then
		sed -i '/^python-wxgtk2.6$/d' /var/lib/pycentral/delayed-pkgs
	fi
fi
# End automatically added section