On Fri, Mar 23, 2001 at 07:44:13PM +0100, Armand A. Verstappen wrote:
> 
> > So, RH7.0 also moved same way as Mandrake? We could check it in the
> > same way as it is done with Mandrake (/etc/mandrake-release) but
> > unfortunately, parsing of this file (/etc/redhat-release) would not
> > help -- 
> 
> Maybe using the output of:
> 
>   rpm -q redhat-release | sed s/redhat-release-// | sed s/-.\*//
> 
> could help here?
$ rpm -qf /etc/redhat-release 
sisyphus-release-7.2-ipl20010303

But on other systems package name may be different even from the form 'foo-release' 
(this
file may be included into 'filesystem' package or something else). Need more thoughts.
-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project   | www.midgard-project.org |    Aurora R&D team 
Minsk Linux Users Group |    www.minsk-lug.net    |  www.aurora-linux.com  
    ALT Linux Team      |    www.alt-linux.org    | Architecte Open Source
-- I don't get no respect.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to