[Yum] extra commands in the .repo files

Karanbir Singh Mail-Lists at karan.org
Wed Mar 2 23:55:54 UTC 2005


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



More information about the Yum mailing list