#! /bin/sh -e # # sample prerm script for Debian python packages. # Written 1998 by Gregor Hoffleit . # PACKAGE=`basename $0 .prerm` dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2 #DEBHELPER#