On Mon, Jan 07, 2008 at 05:52:52PM +0000, Vincent Bernat wrote: > OoO Pendant le temps de midi du lundi 07 janvier 2008, vers 12:50, > Pierre Habouzit <[EMAIL PROTECTED]> disait: > > >> > Le lundi 07 janvier 2008 à 07:56 +0100, Vincent Bernat a écrit : > >> >> Well, if you can change the order for postinst, you will get wrong order > >> >> in prerm. > >> > > >> > debhelper (5.0.44) unstable; urgency=low > >> > > >> > * prerm and postrm scripts are now generated in a reverse order than > >> > preinst and postinst scripts. For example, if a package uses > >> > dh_pysupport before dh_installinit, the prerm will first stop the > >> init > >> > script and then remove the python files. > >> > >> Good news. I will check that it works and propose to close the bug I cited > >> in another message. > > > It does work. > > I have just tested and #386970 is still present with py_support at > least. In postinst, I have first the snippet by dh_installinit and then > the snippet by dh_pysupport. In prerm, I have exactly the same thing.
you need to use compat level 6 for that. -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
pgpL7wFn8jyko.pgp
Description: PGP signature