From bffd54d49fa85411a2ff1fa24ae65351c525c855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Tue, 12 Jul 2022 16:00:47 +0000
Subject: [PATCH] firefox: remove permissions from mozilla sites to install
 silently.

---
 helpers/make-firefox | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/helpers/make-firefox b/helpers/make-firefox
index e4b612f9..38352de8 100644
--- a/helpers/make-firefox
+++ b/helpers/make-firefox
@@ -19,7 +19,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=90
+VERSION=91
 EXTERNAL='deb-src https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu $UPSTREAM main'
 REPOKEY=9BDB3D89CE49EC21
 
@@ -61,6 +61,10 @@ sed '/If fingerprinting resistance is on/,/}/s/^/\/\//' -i ./dom/base/Navigator.
 # Replace ubufox recommendation
 sed 's/xul-ext-ubufox/xul-ext-youtube-html5-video-player/' -i debian/control.in
 
+#Remove exceptions on warnings when installing addons.
+sed -i '/addons.mozilla.org/d' browser/app/permissions
+sed -i '/fpn.firefox.com/d' browser/app/permissions
+
 # Disable healtreport
 cat << EOF > toolkit/components/telemetry/healthreport-prefs.js
 pref("datareporting.healthreport.uploadEnabled", false);
-- 
GitLab