Subject: Re: auto deinstall and reinstall if already installed and no dependencies
To: Jeremy C. Reed <firstname.lastname@example.org>
From: Alistair Crooks <email@example.com>
Date: 02/08/2004 22:28:00
On Thu, Feb 05, 2004 at 11:26:47PM -0800, Jeremy C. Reed wrote:
> It would be a good time saver to have an option to automatically
> pkg_delete a package that has no dependencies if it just built and then
> install it.
> For example:
> p5-XML-Parser-2.31 is already installed - perhaps an older version?
> *** If so, you may use either of:
> I know we already have make update that will also automatically delete
> packages, but it is more dangerous because it recursively deletes.
> I want something simple so if it doesn't have any dependency and it just
> successfully built then it might as well pkg_delete the old one (since
> you are already planning to install again) and then install again.
It sounds like you should investigate "make replace".
Alistair Crooks <firstname.lastname@example.org>
D415 9DEB 336D E4CC CDFA 00CD 1B68 DCFC C059 6823