[fpc-pascal] Detecting what is the linux distro

ik idokan at gmail.com
Mon Oct 11 13:33:39 CEST 2010


Hello List,

I'm looking for a proper way to detect the type of Linux distro.

At first I thought about /etc/issue, but it seems that some are abusing this
file.
Many distro's uses /etc/XXXX__release, where XXXX is their name, but it's
not a proper way either to detect, because not everyone uses it.

Any additional ideas ?


Thanks,

Ido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20101011/abc66670/attachment.html>


More information about the fpc-pascal mailing list