mirror of
https://github.com/tanrax/linux-install-firefox.git
synced 2024-12-22 20:45:34 +01:00
Update linux-install-firefox
This commit is contained in:
parent
e7969dc122
commit
f6033556f7
@ -5,10 +5,10 @@ set -e
|
||||
|
||||
## UNINSTALL
|
||||
# Remove binaries
|
||||
rm -rf /opt/firefox/ /usr/bin/firefox
|
||||
sudo rm -rf /opt/firefox/ /usr/bin/firefox
|
||||
|
||||
# DOWNLOAD
|
||||
curl -L -o firefox.tar.bz2 https://download.mozilla.org/\?product\=firefox-standard-latest-ssl\&os\=linux64\&lang\=en-US
|
||||
curl -L -o firefox.tar.bz2 https://download-installer.cdn.mozilla.net/pub/firefox/releases/88.0/linux-x86_64/es-ES/firefox-88.0.tar.bz2
|
||||
|
||||
# EXTRACT
|
||||
tar -xf firefox.tar.bz2
|
||||
@ -19,7 +19,6 @@ sudo mv firefox /opt
|
||||
sudo ln -s /opt/firefox/firefox /usr/bin/firefox
|
||||
|
||||
# DESKTOP INTEGRATION
|
||||
# Gnome Shell
|
||||
echo -e "[Desktop Entry]\nEncoding=UTF-8\nName=Firefox\nComment=Firefox\nExec=/opt/firefox/firefox %u\nTerminal=false\nIcon=/opt/firefox/browser/chrome/icons/default/default128.png\nStartupWMClass=Firefox\nType=Application\nCategories=Network;WebBrowser;\nMimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;x-scheme-handler/http;x-scheme-handler/https;\nStartupNotify=true\n" | sudo tee -a /usr/share/applications/firefox.desktop
|
||||
|
||||
# NOTIFY
|
||||
|
Loading…
Reference in New Issue
Block a user