[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need help installing an "alternative"



On Fri, Apr 09, 2010 at 01:38:56AM -0000, Cameron Hutchison wrote:
> Ron Johnson <ron.l.johnson@cox.net> writes:
> 
> ># update-alternatives --install x-www-browser firefox \
> >                                        /usr/local/firefox/firefox 3
> >update-alternatives: error: alternative link is not absolute as it 
> >should be: x-www-browser
>
> I think you want this:
> 
> # update-alternatives --install x-www-browser /usr/bin/x-www-browser \
> 	/usr/local/firefox/firefox 3
> 
> That sets up /usr/local/firefox/firefox as an alternative for
> /usr/sbin/x-www-browser .

According to the manpage (on lenny) the arguments to --install are
"genname symlink altern priority", so that would be

# update-alternatives --install /usr/bin/x-www-browser x-www-browser \
 /usr/local/firefox/firefox 3

Cheers,
Tom

-- 
Why use Windows, since there is a door?
(By fachat@galileo.rhein-neckar.de, Andre Fachat)

Attachment: signature.asc
Description: Digital signature


Reply to: