From 922e78abe1cd5990f508aed2653f2a532d8b7eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= Date: Wed, 14 Feb 2024 17:48:29 +0000 Subject: [PATCH] firefox: fix legal page redirection. --- helpers/make-firefox | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers/make-firefox b/helpers/make-firefox index 3641bdc..4d79af5 100644 --- a/helpers/make-firefox +++ b/helpers/make-firefox @@ -94,7 +94,8 @@ pref("datareporting.healthreport.about.reportUrl", "https://trisquel.info/legal" pref("datareporting.healthreport.infoURL", "https://trisquel.info/legal"); EOF # Replace privacy page -grep -rl 'https://www.mozilla.org/legal/privacy/' | xargs -r sed -i 's%https://www.mozilla.org/legal/privacy/*"%https://trisquel.info/legal"%' +grep -rl https://www.mozilla.org/legal/privacy/ | \ + xargs -r sed -i 's|https://www.mozilla.org/legal/privacy/.*"|https://trisquel.info/legal"|' # Disable telemetry pings grep -rl TELEMETRY_BASE_URL | xargs -r sed -i 's|"https://incoming.telemetry.mozilla.org/submit"|""|'