]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1987: * Do script fragement reversal only in v6, since it can break certian
authorjoeyh <joeyh>
Fri, 13 Apr 2007 16:32:56 +0000 (16:32 +0000)
committerjoeyh <joeyh>
Fri, 13 Apr 2007 16:32:56 +0000 (16:32 +0000)
  third party programs such as dh_installtex. Closes: #419060

Debian/Debhelper/Dh_Lib.pm
debhelper.pod
debian/changelog

index 9767959048bde46329c21c613dc214a8f8ed356d..c72e559f44e676d69586e8373cf233d6b7955f88 100644 (file)
@@ -423,7 +423,8 @@ sub autoscript {
                }
        }
 
-       if (-e $outfile && ($script eq 'postrm' || $script eq 'prerm')) {
+       if (-e $outfile && ($script eq 'postrm' || $script eq 'prerm')
+          && !compat(5)) {
                # Add fragments to top so they run in reverse order when removing.
                complex_doit("echo \"# Automatically added by ".basename($0)."\"> $outfile.new");
                complex_doit("sed \"$sed\" $infile >> $outfile.new");
index 123f72675d3434305eec5ccb08557ea41d9d8535..b13dbcdce93c08bd36c8e99b0fee3ae8388b231f 100644 (file)
@@ -362,6 +362,11 @@ compared to V5:
 
 =item -
 
+Commands that generate maintainer script fragements will order the
+fragements in reverse order for the prerm and postrm scripts.
+
+=item -
+
 dh_installwm will install a slave manpage link for x-window-manager.1.gz.
 
 =item -
index e30fea6d9903788bf07b5600871e77ed123b0a1b..6bb1ad7b1cd16fe09f9c3c75fd3b205bc862ab5f 100644 (file)
@@ -12,6 +12,8 @@ debhelper (5.0.45) UNRELEASED; urgency=low
     the rules file to the new location on upgrade.
   * This would be a good time for the many packages that manage rules files
     w/o using dh_installudev to begin to use it..
+  * Do script fragement reversal only in v6, since it can break certian
+    third party programs such as dh_installtex. Closes: #419060
 
  -- Joey Hess <joeyh@debian.org>  Thu, 12 Apr 2007 15:35:20 -0400