On 12/02/2008 08:27 AM, James Montgomery wrote:
> All:
> 
> We are currently running OOo in a headless configuration to allow the
> generation of PDF files for our custom application. It functions as desired.
> We are interested in updating to the 'latest and greatest' in the 2.x series
> for security reasons. Since our access to these systems is limited to remote
> connectivty the majority of the time, is there a way that I can determine
> the current version from the termial. I was hoping there was something as
> simple as ./soffice --version.
> 
> Thank you,
> 
> J. Montgomery
> 

$ locate versionrc

That may return with something like:

/opt/openoffice.org/basis3.0/program/versionrc

so then:

cat /opt/openoffice.org/basis3.0/program/versionrc

and the ouput will be (in my case):

$ cat /opt/openoffice.org/basis3.0/program/versionrc
[Version]
buildid=300m9(Build:9358)
OOOBaseVersion=3.0
ProductBuildid=9358
ProductMajor=300
ProductMinor=9
ProductPatch=
ProductSource=OOO300

The versionrc file will always give you the data.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to