prerm is in idle-python2.7 2.7.3-0ubuntu3.9.
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 | #! /bin/sh -e
#
# sample prerm script for the Debian idle-python2.7 package.
# Written 1998 by Gregor Hoffleit <flight@debian.org>.
#
PACKAGE=`basename $0 .prerm`
dpkg --listfiles $PACKAGE |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
xargs rm -f >&2
exit 0
|