Re: Determine Distro?
2008/11/1 Dale Maggee [EMAIL PROTECTED]: Hi, Does anyone know a way to determine which distro I have on my freerunner from the command line? As a rule, it's more robust to detect the particular thing (library, application, header file etc.) that you're interested in, rather than detecting the distro and mapping from distro to what you expect it to contain. I'm looking into adding the ability for NeoTool to import and export contacts, but to do that I'd need a way to determine whether the user has 2007.2, Qtopia, 2008.x, or FSO installed. So you could look for the particular file names that each distro uses? Regards, Neil ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Determine Distro?
Hi, Does anyone know a way to determine which distro I have on my freerunner from the command line? I'm looking into adding the ability for NeoTool to import and export contacts, but to do that I'd need a way to determine whether the user has 2007.2, Qtopia, 2008.x, or FSO installed. I was thinking that one thing I could do would be 'which addressbook' to find Qtopia / 2008.x, but does anybody have a better suggestion? Regards, -Dale ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Determine Distro?
Dale Maggee wrote: Hi, Does anyone know a way to determine which distro I have on my freerunner from the command line? I'm looking into adding the ability for NeoTool to import and export contacts, but to do that I'd need a way to determine whether the user has 2007.2, Qtopia, 2008.x, or FSO installed. I was thinking that one thing I could do would be 'which addressbook' to find Qtopia / 2008.x, but does anybody have a better suggestion? cat /etc/om-version will tell you which branch of code you're running (eg org.openmoko.asu.stable {200?.? FDOM} or fso / shr - qtopia probably also has one of these? ___ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Determine Distro?
Tim Churchard wrote: Dale Maggee wrote: Hi, Does anyone know a way to determine which distro I have on my freerunner from the command line? I'm looking into adding the ability for NeoTool to import and export contacts, but to do that I'd need a way to determine whether the user has 2007.2, Qtopia, 2008.x, or FSO installed. I was thinking that one thing I could do would be 'which addressbook' to find Qtopia / 2008.x, but does anybody have a better suggestion? cat /etc/om-version will tell you which branch of code you're running (eg org.openmoko.asu.stable {200?.? FDOM} or fso / shr - qtopia probably also has one of these? thanks, but there's no /etc/om-version in 2007.2... -Dale ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Determine Distro?
El día Saturday, November 01, 2008 a las 02:55:42PM +, Tim Churchard escribió: Dale Maggee wrote: Hi, Does anyone know a way to determine which distro I have on my freerunner from the command line? I'm looking into adding the ability for NeoTool to import and export contacts, but to do that I'd need a way to determine whether the user has 2007.2, Qtopia, 2008.x, or FSO installed. I was thinking that one thing I could do would be 'which addressbook' to find Qtopia / 2008.x, but does anybody have a better suggestion? cat /etc/om-version will tell you which branch of code you're running (eg org.openmoko.asu.stable {200?.? FDOM} or fso / shr - qtopia probably also has one of these? I do run Om2008.9, but it does not show up as this: [EMAIL PROTECTED]:~# cat /etc/om-version Tag Name: VERSION: 21895bf33f04f36292eec686438b55a514cb715d Branch: org.openmoko.asu.stable Build Host: barbie Time Stamp: Tue, 16 Sep 2008 08:25:15 +0800 matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Determine Distro?
On Sat, Nov 1, 2008 at 10:03 AM, Dale Maggee [EMAIL PROTECTED]wrote: Does anyone know a way to determine which distro I have on my freerunner from the command line? I'm looking into adding the ability for NeoTool to import and export contacts, but to do that I'd need a way to determine whether the user has 2007.2, Qtopia, 2008.x, or FSO installed. Have you considered writing a plugin for Conduit [1]? It can synchronize across a network two evolution data servers, so Conduit + USB networking could make for a nice solution. -Charles Pax [1] http://www.conduit-project.org/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Determine Distro?
Charles Pax wrote: On Sat, Nov 1, 2008 at 10:03 AM, Dale Maggee [EMAIL PROTECTED]wrote: Does anyone know a way to determine which distro I have on my freerunner from the command line? I'm looking into adding the ability for NeoTool to import and export contacts, but to do that I'd need a way to determine whether the user has 2007.2, Qtopia, 2008.x, or FSO installed. Have you considered writing a plugin for Conduit [1]? It can synchronize across a network two evolution data servers, so Conduit + USB networking could make for a nice solution. -Charles Pax [1] http://www.conduit-project.org/ I'm still learning bash, so no, I haven't considered that! I just want to automate using the existing tools to import and export vcf files... -D ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community