summaryrefslogtreecommitdiffstats
path: root/debian/python-scons.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/python-scons.prerm')
-rw-r--r--debian/python-scons.prerm14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/python-scons.prerm b/debian/python-scons.prerm
new file mode 100644
index 0000000..24e558c
--- /dev/null
+++ b/debian/python-scons.prerm
@@ -0,0 +1,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=python-scons
+
+dpkg --listfiles $PACKAGE |
+ awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+ xargs rm -f >&2
+
+#DEBHELPER#