[maemo-developers] Find out Maemo version from script

From: Marius Gedminas marius at pov.lt
Date: Tue Dec 15 17:44:29 EET 2009
On Tue, Dec 15, 2009 at 04:37:23PM +0100, Alberto Garcia wrote:
> On Tue, Dec 15, 2009 at 12:21:58PM +0100, Cornelius Hald wrote:
> 
> > While developing inside the SDK I used /etc/maemo_version (which is
> > provided by the package maemo-version) to alter the runtime behavior
> > of some scripts.
> 
> I think it's simpler to check the version of some installed packages
> (using e.g. pkg-config)

And it's even better to check for the *features* you want, rather than
the version of the software that has these features.

Marius Gedminas
-- 
At most companies, programmers aren't trusted with words that a user might
actually see (and for good reason, much of the time).
		-- Joel Spolski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20091215/9ca602ff/attachment.pgp 
More information about the maemo-developers mailing list