[maemo-developers] Detecting Maemo release version, at runtime and using scripts
From: Scott Prive scottprive at gmail.comDate: Fri Apr 6 23:46:36 EEST 2007
- Previous message: hunting for Linux developer
- Next message: Detecting Maemo release version, at runtime and using scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, 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? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070406/90fa1929/attachment.htm
- Previous message: hunting for Linux developer
- Next message: Detecting Maemo release version, at runtime and using scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]