summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-python
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/prerm-python')
-rw-r--r--autoscripts/prerm-python3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/prerm-python b/autoscripts/prerm-python
new file mode 100644
index 00000000..e6e779f8
--- /dev/null
+++ b/autoscripts/prerm-python
@@ -0,0 +1,3 @@
+dpkg -L #PACKAGE# |
+ awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+ xargs rm -f >&2