summaryrefslogtreecommitdiff
path: root/debian/pylint.prerm
diff options
context:
space:
mode:
authorroot <devnull@localhost>2006-04-26 10:48:09 +0000
committerroot <devnull@localhost>2006-04-26 10:48:09 +0000
commiteea76f1da01a33dec2afc42119e001e4350aaea2 (patch)
tree3bb03a16daa8c780bf60c622dc288eb01cfca145 /debian/pylint.prerm
downloadpylint-eea76f1da01a33dec2afc42119e001e4350aaea2.tar.gz
forget the past.
forget the past.
Diffstat (limited to 'debian/pylint.prerm')
-rw-r--r--debian/pylint.prerm14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/pylint.prerm b/debian/pylint.prerm
new file mode 100644
index 0000000..dbe2144
--- /dev/null
+++ b/debian/pylint.prerm
@@ -0,0 +1,14 @@
+#! /bin/sh -e
+#
+
+# remove .pyc and .pyo files
+dpkg --listfiles pylint |
+ awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+ xargs rm -f >&2
+
+
+
+
+#DEBHELPER#
+
+exit 0