On Wed, Jan 11, 2006 at 11:51:43PM +0000, Clive Menzies wrote:
> On (11/01/06 21:01), mess-mate wrote:
> > Clive Menzies <[EMAIL PROTECTED]> wrote:
> > I've come in late on this but have you looked at /etc/alternatives
> > you symlink the line:
> | www-browser to something link
> > /usr/bin/mozilla-firefox
> > | 
> > I did :( /usr/bin/mozilla is a link to /etc/alternatives/mozilla
> 
> I may be wrong but this wouldn't do it.  You need to link your
> preferred browser to www-browser
> 
>  www-browser -> /usr/bin/mozilla

Of course, this works, but it is not LHS-compatible, and so Debian
will not do it automatically.  Rather, the Debian convention (which
update-alternatives enforces) is to link /usr/bin/www-browser to
/etc/alternatives/www-browser always.  /etc/alternatives/www-browser is
another symbolic link, which the administrator can point to mozilla, or
whatever.  (This can and should be done through update-alternatives(8)
rather than manually).  The point is that to change the target of
www-browser does not require the administrator to touch /usr, which is
not meant to contain configuration and which the administrator should
not change except in /usr/local.

Note that changes to /usr will not be preserved through upgrades,
except when they are done through the debian system (dpkg-divert,
dpkg-statoverride).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to