-
-
Save Steve-Mr/5b077ae00e417db1ea41960a3108b5a0 to your computer and use it in GitHub Desktop.
Migrate Firefox from snap back to deb on Ubuntu Jammy+
This file contains hidden or 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/env bash | |
| sudo snap remove firefox | |
| sudo add-apt-repository ppa:mozillateam/ppa | |
| echo ' | |
| Package: * | |
| Pin: release o=LP-PPA-mozillateam | |
| Pin-Priority: 1001 | |
| ' | sudo tee /etc/apt/preferences.d/mozilla-firefox | |
| echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox | |
| sudo apt install firefox | |
| # consider the ramifications of the following line and uncomment if you want | |
| # mv ~/snap/firefox/common/.mozilla/firefox ~/.mozilla/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment