aboutsummaryrefslogtreecommitdiffstats
path: root/debian/wireshark-dev.prerm
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2006-07-27 17:15:34 +0000
committerJörg Mayer <jmayer@loplof.de>2006-07-27 17:15:34 +0000
commit52e9a9c01226cb5999c62fe3008bff0bef0265ce (patch)
tree38b26875ff6d40802ab3ebf15bc5ce38c7d59610 /debian/wireshark-dev.prerm
parent5c8bb9bca89f4023f0ba6b0f59650b3b539fa28e (diff)
Frederic Peters <fpeters@debian.org>:
Update to match the current debian package svn path=/trunk/; revision=18799
Diffstat (limited to 'debian/wireshark-dev.prerm')
-rw-r--r--debian/wireshark-dev.prerm15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/wireshark-dev.prerm b/debian/wireshark-dev.prerm
index e53d972372..beef32772d 100644
--- a/debian/wireshark-dev.prerm
+++ b/debian/wireshark-dev.prerm
@@ -43,3 +43,18 @@ dpkg --listfiles $PACKAGE |
#DEBHELPER#
+#! /bin/bash -e
+#
+# Debian prerm script for Python x.y hierarchical modules
+# Written by Gregor Hoffleit <flight@debian.org>
+# Extended by Matthias Klose <doko@debian.org>
+#
+
+PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`
+
+dpkg --listfiles $PACKAGE |
+ awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+ xargs rm -f >&2
+
+#DEBHELPER#
+