aboutsummaryrefslogtreecommitdiff
path: root/debian/zinc-python/DEBIAN/prerm
diff options
context:
space:
mode:
authorAchil2022-09-06 18:56:51 +0200
committerAchil2022-09-06 18:56:51 +0200
commit5bce61c04e589e368d534c4797711ac73c1e1f23 (patch)
tree299f2b64723a5c9697937f651cecf1416604baad /debian/zinc-python/DEBIAN/prerm
parentb60b3de318b4e621518681cc2824b4d9c605ae9e (diff)
downloadtkzinc-5bce61c04e589e368d534c4797711ac73c1e1f23.zip
tkzinc-5bce61c04e589e368d534c4797711ac73c1e1f23.tar.gz
tkzinc-5bce61c04e589e368d534c4797711ac73c1e1f23.tar.bz2
tkzinc-5bce61c04e589e368d534c4797711ac73c1e1f23.tar.xz
Daniel Etienne pre release for Bullseye
Diffstat (limited to 'debian/zinc-python/DEBIAN/prerm')
-rwxr-xr-xdebian/zinc-python/DEBIAN/prerm11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/zinc-python/DEBIAN/prerm b/debian/zinc-python/DEBIAN/prerm
new file mode 100755
index 0000000..6c9295a
--- /dev/null
+++ b/debian/zinc-python/DEBIAN/prerm
@@ -0,0 +1,11 @@
+#! /bin/bash -e
+#
+# Debian prerm script for Python hierarchical modules
+# Written by Gregor Hoffleit <flight@debian.org>
+#
+
+NAME=zinc-python
+
+dpkg --listfiles $NAME |
+ awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+ xargs rm -f >&2