On Tue, Mar 27, 2012 at 12:23:54PM +0200, Michal Novotny wrote:
On 03/27/2012 10:32 AM, Christophe Fergeau wrote:
> On Mon, Mar 26, 2012 at 02:42:17PM +0200, Michal Novotny wrote:
>> Fedora is using /etc/redhat-release file so you use the same handling
>> for Fedora and RHEL then it's fine.
> I also have a /etc/fedora-release on my f17. systemd people are pushing for
> standardization around
>
http://www.freedesktop.org/software/systemd/man/os-release.html
>
> Christophe
Christophe, that's right. Fedora is using /etc/fedora-release file but
please not that there is also the /etc/redhat-release file which is
symlink to /etc/fedora-release. Since the handling for both Fedora and
RHEL is the same then it's fine to check the /etc/redhat-release file.
Ah yes, I didn't mean to imply fedora didn't have redhat-release, I wanted
to point out that it had both :) sorry if there was any confusion.
Christophe