On Sun, Jul 31, 2011 at 04:43:44PM +0200, Graeme Geldenhuys wrote: > 2011/7/31 ik <ido...@gmail.com>: > > Please note that system.d is Fedora implementation (v15) so for Linux you > > need to detect also the Linux distro, and that's a bit more complicated. > > Any distro worth using should support the LSB standards. With that > being said, you can use the 'lsb_release' command to find out exactly > what distribution and version is being used.
Not installed by default on Fedora 15: [marcov@atlas ~]$ lsb_release bash: lsb_release: command not found... so you can't really rely on it. Apparently the standard is optional. -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus