mirror of
https://github.com/tanrax/linux-install-firefox-developer-edition.git
synced 2024-11-10 07:25:40 +01:00
Update firefox-developer-install
This commit is contained in:
parent
e37761799d
commit
657dce11de
@ -4,9 +4,12 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
## UNINSTALL
|
## UNINSTALL
|
||||||
|
# Remove binaries
|
||||||
rm -rf /lib/firefox-developer/firefox /usr/bin/firefox-developer
|
rm -rf /lib/firefox-developer/firefox /usr/bin/firefox-developer
|
||||||
# Only delete the desktop file if it will be replaced
|
# Remove launch
|
||||||
rm -f ~/.local/share/applications/firefox-developer.desktop
|
rm -f ~/.local/share/applications/firefox-developer.desktop
|
||||||
|
# Remove icon
|
||||||
|
rm -f ~/.local/share/icons/hicolor/128x128/apps/firefox-developer.png
|
||||||
|
|
||||||
# DOWNLOAD
|
# DOWNLOAD
|
||||||
curl -L -o firefox-developer.tar.bz2 https://download.mozilla.org/\?product\=firefox-devedition-latest-ssl\&os\=linux64\&lang\=en-US
|
curl -L -o firefox-developer.tar.bz2 https://download.mozilla.org/\?product\=firefox-devedition-latest-ssl\&os\=linux64\&lang\=en-US
|
||||||
@ -20,11 +23,11 @@ mv firefox firefox-developer
|
|||||||
sudo mv firefox-developer /lib
|
sudo mv firefox-developer /lib
|
||||||
sudo ln -s /lib/firefox-developer/firefox /usr/bin/firefox-developer
|
sudo ln -s /lib/firefox-developer/firefox /usr/bin/firefox-developer
|
||||||
|
|
||||||
# ICON
|
# DESKTOP INTEGRATION
|
||||||
|
# Add icon
|
||||||
ln -s /lib/firefox-developer/browser/chrome/icons/default/default128.png ~/.local/share/icons/hicolor/128x128/apps/firefox-developer.png
|
ln -s /lib/firefox-developer/browser/chrome/icons/default/default128.png ~/.local/share/icons/hicolor/128x128/apps/firefox-developer.png
|
||||||
update-desktop-database ~/.local/share/icons
|
update-desktop-database ~/.local/share/icons
|
||||||
|
# Add launch
|
||||||
# GNOME INTEGRATION
|
|
||||||
echo -e "[Desktop Entry]\nEncoding=UTF-8\nName=Firefox Developer\nComment=Firefox Developer Edition\nExec=firefox-developer\nIcon=firefox-developer\nStartupWMClass=Firefox Developer\nType=Application\nCategories=Internet;\n" >> ~/.local/share/applications/firefox-developer.desktop
|
echo -e "[Desktop Entry]\nEncoding=UTF-8\nName=Firefox Developer\nComment=Firefox Developer Edition\nExec=firefox-developer\nIcon=firefox-developer\nStartupWMClass=Firefox Developer\nType=Application\nCategories=Internet;\n" >> ~/.local/share/applications/firefox-developer.desktop
|
||||||
|
|
||||||
# NOTIFY
|
# NOTIFY
|
||||||
|
Loading…
Reference in New Issue
Block a user