[csw-maintainers] Alternatives

Maciej (Matchek) Blizinski maciej at opencsw.org
Mon Dec 7 18:36:27 CET 2009


On Mon, Dec 7, 2009 at 5:10 PM, Philip Brown <phil at bolthole.com> wrote:
> On Sun, Dec 6, 2009 at 5:48 AM, Maciej (Matchek) Blizinski
> <maciej at opencsw.org> wrote:
>> ....
>>
>> Here's an idea: reuse somebody else's work!
>>....
>> Let's tell the alternatives system that we've got something called
>> 'sudo' which is provided by sudo.minimal.
>>
>
> ....
>> Thoughts?
>
> Sounds like it has potential.
> My two concerns are that
>
> 1. you havent spelled out how it would be used by a package, at pkgadd time.
>
> (please note that I explicitly used "pkgadd" there)

You forgot to explicitly mention pkgrm. ;-)

It's package's responsibility to register and deregister binaries.
Either a post{install,remove} script or a new class action script.

> 2. it should probably have some kind of csw-specific naming, rather
> than "update-alternatives"

Why should it?  It's not specific to CSW.  It can be used to use
alternatives from any package provider.



More information about the maintainers mailing list