Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2012 21:08:52 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Eric van Gyzen <eric@vangyzen.net>
Cc:        Adrian Chadd <adrian@freebsd.org>, Oleg Moskalenko <oleg.moskalenko@citrix.com>, freebsd-current@freebsd.org, Jonathan Anderson <jonathan.anderson@cl.cam.ac.uk>, Gabor Kovesdan <gabor@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: CFT: new BSD-licensed sort available
Message-ID:  <4F640E54.1040401@FreeBSD.org>
In-Reply-To: <4F63ED21.60302@vangyzen.net>
References:  <4F60C059.7060904@FreeBSD.org> <CAJ-VmokUV8t3W4CueZuiZC7e=FuVtFu1jq54V_NpRc79-3QG=w@mail.gmail.com> <ACA5E377-BFF9-4C1D-8499-A8003FFE79B3@cl.cam.ac.uk> <4F63E809.1080606@FreeBSD.org> <4F63ED21.60302@vangyzen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/16/2012 18:47, Eric van Gyzen wrote:
> On 03/16/2012 08:25 PM, Doug Barton wrote:
>> On 03/14/2012 15:14, Jonathan Anderson wrote:
>>> In fact, the runtime behaviour of the Debian "alternatives" system is
>>> simpler than that:
>>> http://segfault.in/2010/04/using-the-debian-alternatives-system/
> [...]
>> This sounds like a good solution to more than one problem. Does anyone
>> know why they indirect through 2 sets of symlinks? That article doesn't
>> touch on the "why?" only the what.
> 
> Do you mean, why do they do
>     /usr/bin/vim -> /etc/alternatives/vim -> /usr/bin/vim.gtk
> instead of
>     /usr/bin/vim -> /usr/bin/vim.gtk
> ?
> 
> Someone's choice of a vi-like editor would be considered configuration,
> so it belongs in /etc.

If that's the *only* reason then it seems to me that it would be better
solved by being able to express that in a config file in /usr/local/etc
which the alternate-updater script takes into account. But I need to
install debian for other reasons anyway, so I'll look at this in more
detail. Thanks.

-- 

    This .signature sanitized for your protection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F640E54.1040401>