summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/prerm-python8
1 files changed, 3 insertions, 5 deletions
diff --git a/autoscripts/prerm-python b/autoscripts/prerm-python
index 0dc12731..e6e779f8 100644
--- a/autoscripts/prerm-python
+++ b/autoscripts/prerm-python
@@ -1,5 +1,3 @@
-if [ "$1" = remove ]; then
- dpkg -L #PACKAGE# |
- awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
- xargs rm -f >&2
-fi
+dpkg -L #PACKAGE# |
+ awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+ xargs rm -f >&2