Re: idea: unclear purge cleanup package
On Fri, Dec 27, 2002 at 12:21:02PM -0500, Matt Zimmerman wrote:
> On Fri, Dec 27, 2002 at 05:12:37PM +0000, Colin Watson wrote:
> > I ran into this when I took over man-db and noticed that its old postrm
> > scripts nuked /var/cache/man, which is wrong. I looked back through as
> > many versions of its postrm as I could find and observed that none of
> > them did anything else meaningful, so I just had the new preinst remove
> > the old postrm with an appropriate version check.
>
> And so the cycle of brokenness is perpetuated. :-)
Show me a better approach, and I'll *gladly* apply it. :)
(If joeyh's idea flies, that would be great ... let it have a file that
lists all the postrms it should be removing in 'PACKAGE MIN-VERSION
MAX-VERSION' format or something.)
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: