[Sugar-devel] SoaS font scaling issue

James Cameron quozl at laptop.org
Tue Dec 22 22:17:35 EST 2009


On Tue, Dec 22, 2009 at 10:04:37PM -0500, Walter Bender wrote:
> Seems we need to look in two places (the first for the XO 1.5 and the
> second for the XO 1.0):
> 
>     if os.path.exists('/etc/olpc-release') or \
>        os.path.exists('/sys/power/olpc-pm'):

You'll get /etc/olpc-release on any hardware running that operating
system build.  At least /etc/olpc-release is also available in 802.

It seems adequate.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list