From 39d150cfed5b7a69032cde20374b1d6a683c7117 Mon Sep 17 00:00:00 2001 From: Carlos Aldana Date: Sun, 20 Apr 2025 16:22:22 -0700 Subject: [PATCH] adds script to replace snap firefox for deb --- ubuntu/firefox-replace-snap.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ubuntu/firefox-replace-snap.sh diff --git a/ubuntu/firefox-replace-snap.sh b/ubuntu/firefox-replace-snap.sh new file mode 100644 index 0000000..9d38efe --- /dev/null +++ b/ubuntu/firefox-replace-snap.sh @@ -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