<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Right,<div><br class="webkit-block-placeholder"></div><div>Same when using the "Linux From Scratch" Linux box :S</div><div><br class="webkit-block-placeholder"></div><div>Regards,</div><div>Ursula.</div><div><br><div><div>Le 26 janv. 08 à 11:07, Dalien Talbot a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">IMHO if we have to write the distro-specific code, something is extremely incorrect...<br><br>FWIW, apparently gentoo does not try to conform:<br><br>~ $ lsb_release<br>bash: lsb_release: command not found<br>~ $ <br><br><br> <br>/d<br><br><div class="gmail_quote">On Jan 26, 2008 4:35 AM, Joshua Garvin <<a href="mailto:jkaldon@gmail.com">jkaldon@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi everyone,<br><br>I realize that what I'm addressing was only a temporary solution to fix problems with keeping avatars upright, but I thought I'd mention it anyway in case anyone else has to write platform specific code.<br> <br>On Linux, the best way to determine distribution information is to parse the output of "lsb_release -a".  However, parsing the contents of /etc/lsb-release is a good second best.<br><br>jkaldon@bullshark:~$ lsb_release -a<br> No LSB modules are available.<br>Distributor ID: Ubuntu<br>Description:    Ubuntu 6.06.1 LTS<br>Release:        6.06<br>Codename:       dapper<br><br>jkaldon@bullshark:~$ cat /etc/lsb-release<br>DISTRIB_ID=Ubuntu<br>DISTRIB_RELEASE=6.06<br> DISTRIB_CODENAME=dapper<br>DISTRIB_DESCRIPTION="Ubuntu 6.06.1 LTS"<br><br>Reasonably detailed and is present on any distribution who tries to conform to the Linux Standards Base.  This includes RedHat, Debian, Ubuntu and many others I'm sure.<br> <br>Just my $0.02 -- hope it helps someone.<br><br>- Josh <br>_______________________________________________<br>Opensim-dev mailing list<br><a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br><a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br> <br></blockquote></div><br> _______________________________________________<br>Opensim-dev mailing list<br><a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>https://lists.berlios.de/mailman/listinfo/opensim-dev<br></blockquote></div><br></div></body></html>