Files
linux-setup/ubuntu/firefox-replace-snap.sh

16 lines
355 B
Bash

sudo snap remove firefox
sudo apt remove firefox -y
sudo add-apt-repository ppa:mozillateam/ppa -y
# Set priority
echo "Package: firefox*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
Package: firefox*
Pin: release o=Ubuntu
Pin-Priority: -1" | sudo tee/etc/apt/preferences.d/mozillateamppa >/dev/null
sudo apt update
sudo apt install firefox -y