[CentOS] yum $releasever thinks it's 1 instead of 3

Jim Perrin jperrin at gmail.com
Wed Oct 10 13:10:10 UTC 2007

On 10/10/07, Bent Terp <bent at nagstrup.dk> wrote:

> I think it's parsed from /etc/redhat-release
> cat /etc/redhat-release
> CentOS release 5 (Final)

Very close. It's parsed from the rpm information from the package
which provides that file.
It's not parsed from the file itself.

During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

More information about the CentOS mailing list