summaryrefslogtreecommitdiffstats
path: root/debian/python2-scons.prerm
blob: 2bc808164c8a8b91f5d5584eaf4a1fcc1912ac36 (plain)
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#