I am attempting to write a shell script which will download the latest version of OpenOffice using
wget, and then use the command-line to install the application. I have seen that installing the application is easy, but getting the latest version of OpenOffice is quite difficult.
Note: When I am referring to the latest version, I am not referring to 4.0.0 or 4.0.1, etc..., I am referring to whatever version of OO which is the latest at the time of install, without having to change the shell script.
I can use
wget to fetch the latest from SourceForge:
... however, it does not fetch the correct file.
Using the browser on Windows 7 x64 will fetch
Apache_OpenOffice_4.0.0_Win_x86_install_en-US.exe, but wget will fetch
How can I use wget to fetch the correct file?
Thank you for your time.
Note 2: wget on Linux fetches the same file.