i did not wget the files, and then used your script. works fine.
Hello (:
EDIT v1.0 RELEASED:
Written in Python now, but bash is used sometimes
The updater can be downloaded in my google code page
Early versions can be downloaded in the same page
Supports 24 languages
Just install option is still available
Usage:
Source code available hereCode:python firefox-updater.py --Arabic python firefox-updater.py --Just-install python firefox-updater.py --list
The script was based on Qu4R0w's thread "Install Firefox 3.6.9 on BT4"
Notes:
The file is from a Mozilla's mirrors;
When you first run it, use the shortcut in: K Menu->Internet->Web Browser;
In the first time you run Firefox 4.0 it will ask to verify the add-ons, do it or they won't work;
If they still don't work, go to "add-ons" menu and verify'em manually;
I didn't changed the file than will be downloaded in any way;
SQL Injection! isn't working (yet);
If you need SQL Injection! type:
And use the shortcut next to "Desktop Access", it will load Firefox's old version;Code:killall firefox-bin
Verify the add-ons again to make'em work;
Firefox will be downloaded in English;
If you don't believe than the file will be downloaded from Mozilla's mirrors, please comment the wget command, download the file and use the script, firefox "should" work normally.
Congratulations if you readed all the notes (:
All the files will be downloaded from the servers listed in http://www.mozilla.com/en-US/firefox/all.html
Enjoy.
Changelog
v0.0
-Wget file (only)
vo.1
-Fixed FTP server
v0.2
-Users can now interact with the script, and choose the app's language.
v1.0
-Written in python
-Supṕorts more languages
-User interaction disabled
i did not wget the files, and then used your script. works fine.
@clone
Thanks for testing the script (:
--
Updated the script, now it will get the file from Mozilla ftp server, which can be found (here.
Thanks for sharing.
My update script has this feature built in
http://www.backtrack-linux.org/forum...update-sh.html
For those that want to do it manually
wget 'http://download.mozilla.org/?product=firefox-4.0&os=linux&lang=en-US'
sudo mv /opt/firefox /opt/firefoxold
sudo tar -C /opt -xvf firefox-*
sudo mv /usr/bin/firefox /usr/bin/firefox-old
sudo ln -s /opt/firefox/firefox /usr/bin/firefox
sudo ln -s /opt/firefox/firefox /usr/bin/firefox4
rm firefox-*
If things go badly then replace the old firefox with
sudo mv /opt/firefoxold /opt/firefox
Last edited by Scamentology; 04-04-2011 at 11:17 AM.
"Never do anything against conscience -- even if the state demands it."
-- Albert Einstein
Well... actually your script is pretty much diferent from mine but as someone once said...
"If it works, then the differences doesn't matter."
(And hey, the topic already hitted over 600 views)
reformatted a box and wanted to try your edit because i remembered you had posted this. i like the fact you included the multi-language options for users.
a user pastes the script into a shell and about 10 seconds later is easily on 4.0.
again, i had already manually downloaded the tarball and extracted. cd'd into the directory and ran main portions of the script. works perfect.
Thanks again for replying and testing clone
I'll change the language used in the next version, from bash to python, but the older versions will be still available, probably in Google Code ^ ^