postinst is in python-wxgtk3.0 3.0.2.0+dfsg-7.
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 | #!/bin/sh
set -e
# This should be the version with "." removed - e.g. 30 for wxPython 3.0.
PRIORITY=30
update-alternatives --install /usr/lib/wx/python/wx.pth wx.pth \
/usr/lib/wx/python/wx3.0.pth $PRIORITY
# Automatically added by dh_python2:
if which pycompile >/dev/null 2>&1; then
pycompile -p python-wxgtk3.0
fi
# End automatically added section
|