1 2 3 4 5 6 7 8
#!/usr/bin/env bash echo "Installing firefox..." sudo rm -r /opt/firefox sudo mv firefox /opt/firefox58 sudo mv /usr/bin/firefox /usr/bin/firefox-old sudo ln -s /opt/firefox58/firefox /usr/bin/firefox echo "Firefox installed."