diff options
author | joey <joey> | 2003-05-10 17:00:46 +0000 |
---|---|---|
committer | joey <joey> | 2003-05-10 17:00:46 +0000 |
commit | c852d31331ae45515d690688320c7ef8b63cd68e (patch) | |
tree | 5490bc7e4ce0b51a7366efa4e317776e637f85c6 | |
parent | d3e154d83f3f5b00122bb7e96b5843801ef1bdbe (diff) | |
download | debhelper-c852d31331ae45515d690688320c7ef8b63cd68e.tar.gz |
r585: * dh_python: Honour -n flag. Closes: #192804
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | dh_python | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index df3e13af..004586a1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +debhelper (4.1.43) unstable; urgency=low + + * dh_python: Honour -n flag. Closes: #192804 + + -- Joey Hess <joeyh@debian.org> Sat, 10 May 2003 13:00:12 -0400 + debhelper (4.1.42) unstable; urgency=medium * Fix stupid typo in dh_movefiles. Closes: #188833 @@ -187,12 +187,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } $verdeps{$pyver} |= PY_MODULE if($deps & PY_MODULE); } - if ($verdeps{$pyver} & PY_MODULE) { + if ($verdeps{$pyver} & PY_MODULE && ! $dh{NOSCRIPTS}) { autoscript($package,"postinst","postinst-python","s%#PYVER#%$pyver%;s%#DIRLIST#%$pydir%"); $need_prerm = 1; } } - if ($need_prerm) { + if ($need_prerm && ! $dh{NOSCRIPTS}) { autoscript($package,"prerm","prerm-python","s%#PACKAGE#%$package%"); } } |