[Yum] pkgpolicy=(newest)|first|last by repo order in .conf

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

 



On Wed, May 26, 2004 at 01:42:48PM -0400, seth vidal wrote:
> On Wed, 2004-05-26 at 11:52, Cymon J. Cox wrote:
> > Folks,
> > 
> > Seeing as this has been discussed many times I'll get to the point: has
> > anyone considered poking an ordered dictionary through to ConfigParser?
> > 
> > Apart from touching a supposed private attribute (which I can live
> > with), this would seem to be a simple solution...
> > 
> 
> Doesn't really work for the new config stuff that's in cvs-HEAD b/c the
> new config supports a yum.conf.d directory of repos.
> 
> the directory entries could be named anything and sort order for getting
> them is whatever order the dir list is in.

Well, you could sort the results of listdir before you read them in :)

					-Michael
-- 
  Michael D. Stenner                            mstenner@xxxxxxxxxxxxxxx
  ECE Department, the University of Arizona                 520-626-1619
  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux