Subject: Re: recursive dependency pkg_delete
To: Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
From: David Brownlee <abs@anim.dreamworks.com>
List: tech-pkg
Date: 02/05/1999 10:33:30
One other question on this - it would be nice if
pkg_delete pkgA pkgB
worked the case when pkgA depended on pkgB :)
Currently it warns on A, then deletes B
David/absolute
-=- Why _do_ we crucify ourselves? -=-
On Fri, 5 Feb 1999, Hubert Feyrer wrote:
> On Thu, 4 Feb 1999, Todd Vierling wrote:
> > chopps raised an interesting question about adding a recursive delete flag
> > to pkg_delete that would delete all pkgs which dependeed on the pkg in
> > question.
> >
> > Are there any *technical* objections to this? Procedural or sysadmin's
> > preference level objections to /dev/null please, it's been flamed that way
> > already and `I don't care'.
>
> I don't think so - just call pkg_delete for all the @pkgdep's, and if
> something else needs that package, pkg_delete will gripe and not delete
> (unless the -f flag is given)
>
>
> - Hubert
>
> --
> Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
>