3
# Debian prerm script for Python x.y hierarchical modules
4
# Written by Gregor Hoffleit <flight@debian.org>
5
# Extended by Matthias Klose <doko@debian.org>
6
# touched a little by Junichi Uekawa <dancer@debian.org>
9
PACKAGE=`basename $0 .prerm`
10
PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{
11
s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p
15
dpkg --listfiles $PACKAGE |
16
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |