[Yum] extra commands in the .repo files

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

 



Hi Seth,

I have a situation...

We need some way to know if the .repo we are parsing is indeed a CentOS 
one and if so which mirror list to look at. There seem to be 2 ways to 
work this.

1. Use filenames (eg. CentOS-BASE.repo)
2. Use a command line or marker inside the repo itself, on a # comment 
line (#->CentOS-Base<- )

I know that 2. is a kludge and a bad one - but is there any other way to 
look at this issue ?

how do we figure out which ones are CentOS repos from a list of 10 .repo 
files.

on email, so reply when u can...

Thanks

- KB
-- 
Karanbir Singh   : http://www.karan.org/
GnuPG Public Key : http://www.karan.org/publickey.asc

[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