Marco van de Voort wrote:
>> If your distro complies with the LSB standards (most popular distros
>> do), then you should have a /etc/lsb-release text file that you can
>> parse.
> 
> FC11, no such file, but there is a dir lsb-release.d with the contents
> 

You're not really supposed to be looking at /etc/lsb* files directly.
Rather you should run "lsb_release". Try "lsb_release  --all". For the
short name of the distribution, something like "lsb_release --id
--short" is appropriate, see the manpage.

Michalis
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to