1 2 3 4 5 6 7 8 9 10 11 12 13 14
#! /bin/sh -e # # sample prerm script for Debian python2 packages. # Written 1998 by Gregor Hoffleit <flight@debian.org>. # Modified for SCons 2001 by Anthony Roach <aroach@electriceyeball.com>. # PACKAGE=python2-scons dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2 #DEBHELPER#