Last active
September 14, 2020 16:12
-
-
Save alexlopes/1981509d233b4dbb656d3fd32e4beef3 to your computer and use it in GitHub Desktop.
Autoupdate Firefox -
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/sh | |
echo "Downloading latest version for linux 32bits in pt-BR" | |
wget -v --content-disposition "https://download.mozilla.org/?product=firefox-latest&os=linux&lang=pt-BR" -O - | tar -xvj | |
echo "Removing" | |
rm -Rf /usr/lib/firefox | |
echo "Copying" | |
cp -r firefox/ /usr/lib | |
echo "Linking" | |
sudo ln -sf /usr/lib/firefox/firefox /usr/bin/firefox | |
echo "Done!" | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment