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