On *another* forum
http://www.linuxquestions.org/questi...d.php?t=435583
aysiu published a script to automate updating to the latest release of Firefox. With a couple of modifications to replace sudo, it worked fine for me on MEPIS 3.4.3, so I am passing it on for those interested.
1. Open up Kate or another editor
2. Paste in the code below
Code:
#!/bin/sh
echo "Updating repositories list"
apt-get update
echo "
Making sure libstdc++5 and the old Firefox are installed
"
apt-get -y install firefox libstdc++5
echo "
Backing up old Firefox preferences
"
cp -R ~/.mozilla ~/.mozilla_backup
echo "
Changing to home directory
"
cd
echo "
Downloading Firefox from the Mozilla site
"
wget -c http://ftp-mozilla.netscape.com/pub/mozilla.org/firefox/releases/1.5.0.2/linux-i686/en-US/firefox-1.5.0.2.tar.gz
echo "
Unzipping the .tar.gz file
"
tar -C /opt -x -z -v -f firefox-1.5.0.2.tar.gz
echo "
Removing the unzipped .tar.gz
"
rm firefox-1.5.0.2.tar.gz
echo "
Linking plugins
"
cd /opt/firefox/plugins/
ln -s /usr/lib/mozilla-firefox/plugins/* .
echo "
Linking launcher to new Firefox
"
dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
ln -s /opt/firefox/firefox /usr/bin/firefox
dpkg-divert --divert /usr/bin/mozilla-firefox.ubuntu --rename /usr/bin/mozilla-firefox
ln -s /opt/firefox/firefox /usr/bin/mozilla-firefox
echo "
The new Firefox is installed."
3. Save to the desktop as "InstallNewFirefox_MEPIS.sh"
4. Open up a terminal, type
Code:
su
cd Desktop
sh InstallNewFirefox_Mepis.sh
Worked just fine for me!