On Sunday 14 September 2008 18:34:41 Ciaran McCreesh wrote: > On Sun, 14 Sep 2008 10:13:09 +0100 > > "David Leverton" <[EMAIL PROTECTED]> wrote: > > > So, we have: > > > > > > packages/sys-eselect/anternatives-modules.exlib > > > packages/sys-eselect/vi/vi-0.exheres-0 > > > > Do I have a veto? > > Do you have a better way?
Either make the eselect core aware of alternatives, or (ferdy's idea) make alternatives.exlib create the modules in pkg_postinst (and clean them up afterwards when the last provider is removed). More general, but probably harder, would be to allow an eselect module to provide an arbitrary number of "things" to work on, where a "thing" corresponds UI-wise to what a module looks like currently. Most would simply export a single thing with the same name as the module, to get the current behaviour, but alternatives could provide one for each alternatives group. _______________________________________________ Exherbo-dev mailing list [email protected] http://lists.exherbo.org/mailman/listinfo/exherbo-dev
