From: joey Date: Wed, 30 May 2001 20:24:46 +0000 (+0000) Subject: r473: * dh_clean: clean up temp files used by earlier versons of debhelper. X-Git-Tag: version_2.0.101~126 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5e4b47dc3e23c862f7af2428fcade51acbfb9b69;p=debhelper.git r473: * dh_clean: clean up temp files used by earlier versons of debhelper. Closes: #99169 --- diff --git a/debian/changelog b/debian/changelog index 588dc72..5d9e295 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (3.0.28) unstable; urgency=low + + * dh_clean: clean up temp files used by earlier versons of debhelper. + Closes: #99169 + + -- Joey Hess Wed, 30 May 2001 16:24:09 -0400 + debhelper (3.0.27) unstable; urgency=low * Fixed issues with extended parameters to dh_gencontrol including spaces diff --git a/dh_clean b/dh_clean index 341d1fb..d86743a 100755 --- a/dh_clean +++ b/dh_clean @@ -81,6 +81,15 @@ if (! $dh{D_FLAG}) { doit("rm","-f","debian/files"); } + # Remove some files that were left around by older versions of + # debhelper, just in case someone upgrades in the middle of a + # build. + doit("rm","-f","debian/substvars", + "debian/postinst.debhelper", + "debian/postrm.debhelper", + "debian/preinst.debhelper", + "debian/prerm.debhelper"); + # See if some files that would normally be deleted are excluded. my $find_options=''; if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') {