firefox: fix legal page redirection.
This commit is contained in:
parent
d0f238c064
commit
922e78abe1
1 changed files with 2 additions and 1 deletions
|
|
@ -94,7 +94,8 @@ pref("datareporting.healthreport.about.reportUrl", "https://trisquel.info/legal"
|
||||||
pref("datareporting.healthreport.infoURL", "https://trisquel.info/legal");
|
pref("datareporting.healthreport.infoURL", "https://trisquel.info/legal");
|
||||||
EOF
|
EOF
|
||||||
# Replace privacy page
|
# 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
|
# Disable telemetry pings
|
||||||
grep -rl TELEMETRY_BASE_URL | xargs -r sed -i 's|"https://incoming.telemetry.mozilla.org/submit"|""|'
|
grep -rl TELEMETRY_BASE_URL | xargs -r sed -i 's|"https://incoming.telemetry.mozilla.org/submit"|""|'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue