summaryrefslogtreecommitdiffstats
path: root/debian/wireshark-dev.prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:13 +0000
commit5033b68d4d2519270fa3690ed1a31fd3e4f7e777 (patch)
treeab9889da869694224fc01fa4f677b97ada54b544 /debian/wireshark-dev.prerm
parentAdding upstream version 4.2.2. (diff)
downloadwireshark-5033b68d4d2519270fa3690ed1a31fd3e4f7e777.tar.xz
wireshark-5033b68d4d2519270fa3690ed1a31fd3e4f7e777.zip
Adding debian version 4.2.2-1.debian/4.2.2-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/wireshark-dev.prerm17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/wireshark-dev.prerm b/debian/wireshark-dev.prerm
new file mode 100644
index 0000000..8614658
--- /dev/null
+++ b/debian/wireshark-dev.prerm
@@ -0,0 +1,17 @@
+#! /bin/bash
+#
+# Debian prerm script for Python x.y hierarchical modules
+# Written by Gregor Hoffleit <flight@debian.org>
+# Extended by Matthias Klose <doko@debian.org>
+#
+
+set -e
+
+PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`
+
+dpkg --listfiles $PACKAGE |
+ awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+ xargs rm -f >&2
+
+#DEBHELPER#
+