Comment #25 on issue 977 by charmster: Update fails on Linux/Firefox (incompatible build type)
http://code.google.com/p/gears/issues/detail?id=977

that worked for me, too! yeah! however, the exact set of commands didn't work because wget puts gears-linux-opt.xpi in a sub-directory. i've attached a script
that will do the job, and also appended its contents below.

note that you need to have the zip and unzip packages installed for this to work. if you don't have them installed, you can use the Package Manager which can be found as System->Administration->Synaptic Package Manager in Ubuntu 10.04 (Lucid Lynx). or
you can install them using

sudo apt-get install zip unzip

after the script runs, you must still open the file gears-linux-opt.xpi from Firefox.


here's the contents of the script:

[ -d /tmp/gears ] || mkdir /tmp/gears || exit 2

cd /tmp/gears
wget -nd http://dl.google.com/gears/current/gears-linux-opt.xpi
unzip gears-linux-opt.xpi install.rdf
sed -i "s/Linux_x86_64-gcc3/Linux_x86-gcc3/" install.rdf
zip -f gears-linux-opt.xpi




Attachments:
        gears-linux-fixup  250 bytes

Reply via email to