linux distro version

Vitaly Karasik_1
Honored Contributor

linux distro version

and Mandrake has two files:

/etc/redhat-release (guess, why? :-)


Rick Beldin
Esteemed Contributor

Re: linux distro version

I think it might be that Mandrake leverages off the RedHat release. The mandrake-release is probably MD-specific stuff.

Just a guess but this seems to be somewhat common among distros that hang off each other.
Necessary questions: Why? What? How? When?
Stuart Browne
Honored Contributor

Re: linux distro version

Acutaly I think this has to do more with how some RPM's grab the distribution version details.

I know that some I've installed here look at /etc/redhat-release to see if it's a new enough version, instead of relying upon standard dependancies.

It's just a quick-hack by Mandrake to get around some people's bad %pre and %post routines in RPM's.
One long-haired git at your service...