summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorjoey <joey>2003-08-07 20:03:11 +0000
committerjoey <joey>2003-08-07 20:03:11 +0000
commit37c6bda5a2cfb98d77ba9b480e81456ef7369f80 (patch)
treee67443595c95d9b5f4af1030c7c1384e2eca0c43 /autoscripts
parent545fc81d5b8635506e75bdc22ed4e0d3484eb1a6 (diff)
r1576: * Typo, Closes: #203907
* dh_python: clan compiled files on downgrade, upgrade, not only removal. Closes: #204286
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