[Lazarus] Determining OS
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Mon Aug 1 12:32:41 CEST 2011
Graeme Geldenhuys wrote:
>> Can somebody confirm this for Ubuntu? Are there comparable files for
>> other distreax?
>
> Both my Ubuntu 8.04.4 and Ubuntu 10.04.3 systems have the lsb_release
> and the xdg-open commands available. So I guess that's +1 to Canonical
> for at least trying to be helpful!
Yes, but for cases where lsb_release might not work- e.g. an older
release- does apt/sources.list refer to a section of their repository by
name or simply as "stable" etc.?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list