]> git.donarmstrong.com Git - debhelper.git/commitdiff
r473: * dh_clean: clean up temp files used by earlier versons of debhelper.
authorjoey <joey>
Wed, 30 May 2001 20:24:46 +0000 (20:24 +0000)
committerjoey <joey>
Wed, 30 May 2001 20:24:46 +0000 (20:24 +0000)
Closes: #99169
debian/changelog
dh_clean

index 588dc726b3631f1b5ee33c861a04a82467a74987..5d9e2950dd71a4633d943a9f6f8c9c4298793113 100644 (file)
@@ -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 <joeyh@debian.org>  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
index 341d1fbf6b6c140b82da5d8aaa886eb283e9a458..d86743a5ab775ea614ded0b112832902d8fccc70 100755 (executable)
--- 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 '') {