[maemo-developers] Detecting Maemo release version, at runtime and using scripts
From: Marius Gedminas marius at pov.ltDate: Sat Apr 7 14:46:34 EEST 2007
- Previous message: Detecting Maemo release version, at runtime and using scripts
- Next message: Detecting Maemo release version, at runtime and using scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Apr 06, 2007 at 04:46:36PM -0400, Scott Prive wrote: > I have a shell-based application which I want to support on Maemo. A small > feature of my application is to detect the OS/platform it is running on. > > To get this information on other Linux, I invoke `lsb_release` (Sadly, this > command does not exist in the Internet Tablet OS 2007..). Fallback detection > is normally accomplished using `cat /etc/*release` in older Linux/UNIX. > > For the moment, I have a very frail workaround: > grep Nokia /etc/hostname > followed by a test on "$?" > > Is there a Maemo-specific solution to detecting the platform during script > execution? $ cat /etc/osso_software_version RX-34_2007SE_3.2007.10-7_PR_MR0 Marius Gedminas -- We did it for smallpox, we'll also win over on ISO 8859-1 ... ;-) -- Markus Kuhn after eradicating one more ISO 8859-1 file from his disk -------------- 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/20070407/e2e42dee/attachment.pgp
- Previous message: Detecting Maemo release version, at runtime and using scripts
- Next message: Detecting Maemo release version, at runtime and using scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]