third party programs such as dh_installtex. Closes: #419060
}
}
- 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");
=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 -
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