[Lazarus] RE : Determining OS

Ludo Brands ludo.brands at free.fr
Mon Aug 1 13:44:18 CEST 2011


> 
> >> 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.?
> 

apt/sources.list for my ubuntu 10.04 64 bit refers to fe.

deb http://us.archive.ubuntu.com/ubuntu/ lucid-security main restricted 

Kubuntu (ubuntu with KDE desktop) 10.04 32 bit and Xubuntu 10.04 (with
XFCE4) point to the same repositories.  
>From older versions, I remember similar names containing ubuntu and the
codename (hardy, dapper, etc).

Ludo








More information about the Lazarus mailing list