Created
April 29, 2012 13:50
-
-
Save DavidSouther/2550531 to your computer and use it in GitHub Desktop.
Install Firefox releases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir --parents /home/$USER/devel/firefox | |
mkdir --parents /home/$USER/bin | |
pushd /home/$USER/devel/firefox | |
for ff in $(seq 4 13) ; do | |
wget ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$ff.0/linux-$(uname -p)/en-US/firefox-$ff.0.tar.bz2 | |
tar xvf firefox-$ff.0.tar.bz2 | |
mv firefox firefox-$ff | |
/home/$USER/devel/firefox/firefox-$ff/firefox -no-remote -CreateProfile firefox-$ff.0 | |
echo "#/bin/sh | |
/home/$USER/devel/firefox/firefox-$ff/firefox -no-remote -P firefox-$ff.0" >| /home/$USER/bin/firefox-$ff | |
chmod a+x /home/$USER/bin/firefox-$ff | |
done | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment