summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoeyh <joeyh>2007-04-13 16:32:56 +0000
committerjoeyh <joeyh>2007-04-13 16:32:56 +0000
commita0656a38e5b6b196cdece6951190ba77e28c76df (patch)
tree3f9f6b9ed4e865431ef40daa325d2a0f69326689
parentfb38675cf96e1f87e025992837c8b1e88f4ae199 (diff)
downloaddebhelper-a0656a38e5b6b196cdece6951190ba77e28c76df.tar.gz
r1987: * Do script fragement reversal only in v6, since it can break certian
third party programs such as dh_installtex. Closes: #419060
-rw-r--r--Debian/Debhelper/Dh_Lib.pm3
-rw-r--r--debhelper.pod5
-rw-r--r--debian/changelog2
3 files changed, 9 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 97679590..c72e559f 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -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");
diff --git a/debhelper.pod b/debhelper.pod
index 123f7267..b13dbcdc 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -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 -
diff --git a/debian/changelog b/debian/changelog
index e30fea6d..6bb1ad7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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