#!/bin/sh
NAME=python@VERSION@-twisted

dpkg --listfiles $NAME |
        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
        xargs rm -f >&2


syntax highlighted by Code2HTML, v. 0.9.1