Skip to content

Instantly share code, notes, and snippets.

@MarcelFox
Created July 19, 2018 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcelFox/1b8649e8089f2f850c5d40b4f1ebc767 to your computer and use it in GitHub Desktop.
Save MarcelFox/1b8649e8089f2f850c5d40b4f1ebc767 to your computer and use it in GitHub Desktop.
Firefox Update Script
#!/bin/bash
# Author: MarcelFox
sudo killall firefox
sudo wget -O firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=pt-BR"
if [ -d /usr/lib/firefox ];
then
sudo rm -rf /usr/lib/firefox
fi
sudo tar xvfj firefox.tar.bz2 -C /usr/lib/
sudo ln -sf /usr/lib/firefox/firefox /usr/lib/firefox
sudo rm -rf firefox.tar.bz2
cd -
clear
echo
firefox -V
echo
# done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment