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

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

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux