-
-
Save practicalli-johnny/ec2a2e85839fb368cc97923c30ecaf01 to your computer and use it in GitHub Desktop.
Migrate Firefox from snap back to deb on Ubuntu Jammy+
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/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment