On Wed, 2009-11-18 at 08:06 -0500, Kris Warkentin wrote: > Valfre, Daniel wrote: > > Hi all, > > > > From an application, in runtime, is there a different way of finding > out if it is running on a Moblin or Moblin/based distro other than > looking at /etc/system-release or /proc/version? > > Thanks in advance. > > if pmap `pidof mutter` 2>/dev/null | grep -q moblin ; then > echo running moblin > else > echo not running moblin > fi >
That will catch systems running GNOME shell. Please don't do that. Cheerio, Rob _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
