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

Re: Script to detect conflicting files in PATH within a yum repo (was Re: conflict between libotf and openmpi)



Le Jeu 17 septembre 2009 02:47, Jesse Keating a écrit :
> On Wed, 2009-09-16 at 20:08 -0400, Neal Becker wrote:
>> Why not report all conflicts, instead of only those on your PATH?
>
> Because these aren't file level conflicts, as in they can both exist on
> the filesystem at the same time and RPM won't care.  However they can
> lead to unexpected things due to PATH collision, if you type "foo" and
> there are multiple "foo"'s in your path, are you sure you know which one
> you'll get?

Well, for $PATH dirs you need to check the basename, for others you need
to check the full name (and hash, and perms). Both checks are valid  and
useful

-- 
Nicolas Mailhot


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