postinst is in python-kde4 4:4.8.2-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 | #! /bin/sh
## python-central does not clean up after itself, so we have to do it.
## http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479852
if dpkg --compare-versions "$2" lt-nl "4:4.2.0-1"
then
rm -rf /usr/lib/python2.*/site-packages/PyKDE4/
fi
# Automatically added by dh_python2:
if which pycompile >/dev/null 2>&1; then
pycompile -p python-kde4
fi
# End automatically added section
|