From 3ff47583107257451d08ba50f1a973b285e888f2 Mon Sep 17 00:00:00 2001 From: Carlos Aldana Date: Mon, 21 Apr 2025 09:14:26 -0700 Subject: [PATCH] fixes priority not being able to be written because of permissions --- ubuntu/firefox-replace-snap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ubuntu/firefox-replace-snap.sh b/ubuntu/firefox-replace-snap.sh index 9d38efe..b7a4749 100644 --- a/ubuntu/firefox-replace-snap.sh +++ b/ubuntu/firefox-replace-snap.sh @@ -1,6 +1,6 @@ sudo snap remove firefox -sudo apt remove firefox -sudo add-apt-repository ppa:mozillateam/ppa +sudo apt remove firefox -y +sudo add-apt-repository ppa:mozillateam/ppa -y # Set priority echo "Package: firefox* @@ -9,7 +9,7 @@ Pin-Priority: 1001 Package: firefox* Pin: release o=Ubuntu -Pin-Priority: -1" >>/etc/apt/preferences.d/mozillateamppa +Pin-Priority: -1" | sudo tee/etc/apt/preferences.d/mozillateamppa >/dev/null sudo apt update sudo apt install firefox -y