From 37c6bda5a2cfb98d77ba9b480e81456ef7369f80 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 7 Aug 2003 20:03:11 +0000 Subject: r1576: * Typo, Closes: #203907 * dh_python: clan compiled files on downgrade, upgrade, not only removal. Closes: #204286 --- autoscripts/prerm-python | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'autoscripts/prerm-python') 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 -- cgit v1.2.3