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