adds script to replace snap firefox for deb
This commit is contained in:
15
ubuntu/firefox-replace-snap.sh
Normal file
15
ubuntu/firefox-replace-snap.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
sudo snap remove firefox
|
||||
sudo apt remove firefox
|
||||
sudo add-apt-repository ppa:mozillateam/ppa
|
||||
|
||||
# Set priority
|
||||
echo "Package: firefox*
|
||||
Pin: release o=LP-PPA-mozillateam
|
||||
Pin-Priority: 1001
|
||||
|
||||
Package: firefox*
|
||||
Pin: release o=Ubuntu
|
||||
Pin-Priority: -1" >>/etc/apt/preferences.d/mozillateamppa
|
||||
|
||||
sudo apt update
|
||||
sudo apt install firefox -y
|
||||
Reference in New Issue
Block a user