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

Re: Dual-lived modules with scripts



On Wed, May 18, 2011 at 10:05:12PM +0300, Niko Tyni wrote:
> On Wed, May 18, 2011 at 07:21:23PM +0100, Dominic Hargreaves wrote:
>  
> > I'm in the process of packaging Devel::DProf from CPAN as part of
> > the deprecation routine for perl 5.14. This module installs a script
> > and would by default conflict with the main perl package
> > (/usr/bin/dprofpp).
> > 
> > Can anyone point me to any prior art here with regards to resolving
> > such a conflict? The obvious thing to do would be to use alternatives,
> > but it would be useful to know about previous experience or discussion,
> > for consistency.
> 
> The first thing that comes to mind is libmodule-corelist-perl. It uses
> diversions, not alternatives. Be sure to divert the manpages too,
> see #474529.

Aha, great, thanks.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)


Reply to: