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>
8
PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`
10
dpkg --listfiles $PACKAGE |
11
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |