Last active
December 20, 2015 20:09
-
-
Save martinhbramwell/6188800 to your computer and use it in GitHub Desktop.
Downgrade Firefox to v22 Get rid of the official install in my Ubuntu machine, then create a local copy in my own account.
This is a *cheap* fix for a development virtual machine; not intended for long-term use. See installation instruction in the shorter file.
This file contains 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
#!/bin/bash | |
apt-get -y update | |
apt-get -y upgrade | |
apt-get -y dist-upgrade | |
apt-get clean | |
apt-get autoremove | |
apt-get purge firefox | |
apt-get -y update | |
apt-get -y upgrade | |
apt-get -y dist-upgrade | |
apt-get clean | |
apt-get autoremove | |
apt-get install --no-install-recommends gnome-panel | |
# | |
mkdir -p ~/tmp | |
rm -fr ~/tmp/firefox* | |
rm -fr ~/firefox | |
rm -fr ~/Desktop/Firefox.desktop | |
cd ~/tmp | |
wget ftp://ftp.mozilla.org/pub/firefox/releases/22.0/linux-x86_64/en-US/firefox-22.0.tar.bz2 | |
tar jxf firefox-22.0.tar.bz2 -C ~ | |
cat << 'EOF' > ~/Desktop/Firefox.desktop | |
#!/usr/bin/env xdg-open | |
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Terminal=false | |
Icon[en_CA]=/home/yourself/firefox/browser/icons/mozicon128.png | |
Name[en_CA]=Firefox | |
Exec=/home/yourself/firefox/firefox-bin | |
Name=Firefox | |
Icon=/home/yourself/firefox/browser/icons/mozicon128.png | |
EOF | |
chown yourself:yourself ~/firefox | |
chown yourself:yourself ~/Desktop/Firefox.desktop | |
chmod 775 ~/Desktop/Firefox.desktop |
This file contains 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
Usage : | |
wget -N https://gist.github.com/martinhbramwell/6188800/raw/f17fdc1ad7f3217059bfe963db175e34a5ded21f/downgrade_firefox.sh | |
chmod a+x downgrade_firefox.sh | |
sudo ./downgrade_firefox.sh | |
# drag the desktop icon to the launcher | |
# click on it | |
# you should be back in action |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment