Subject: Re: HEADS UP: Alternatives system added
To: Juan RP <juan@xtraeme.nopcode.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 01/25/2005 16:41:20
On Tue, Jan 25, 2005 at 04:27:14PM +0100, Juan RP wrote:
> On Tue, 25 Jan 2005 16:23:22 +0100
> "Julio M. Merino Vidal" <jmmv@menta.net> wrote:
>
> > You have to choices:
> >
> > 1) Make your path use /usr/bin before /usr/pkg/bin.
> >
> > 2) Adjust the vi wrapper to run /usr/bin/vi:
> >
> > pkg_alternatives -w manual /usr/pkg/bin/vi /usr/bin/vi
> >
> > after that, no package will modify your setting.
> >
> > Oh well... I can add a variable that affects the _registering_ of
> > alternatives at install/deinstall time. That should be enough for
> > anyone that doesn't want to use this system at all.
>
> Much better... because I don't want to modify my PATH for this...
> and probably I won't use the alternatives stuff.
You won't generally notice that the alternatives are there; it's not
something you have to "use".
But anyway it's already done. Just set PKG_ALTERNATIVES=NO in your
environment and/or mk.conf.
--
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/