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