firefox: update patch for 106.0 release.

This commit is contained in:
Luis Guzmán 2022-10-16 23:34:05 +00:00
parent 3aea9d9c9d
commit 904f37d240
2 changed files with 125 additions and 27 deletions

View file

@ -20,7 +20,7 @@
#
VERSION=92
EXTERNAL='deb-src https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu $UPSTREAM main'
EXTERNAL='deb-src http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu $UPSTREAM main'
REPOKEY=9BDB3D89CE49EC21
. ./config
@ -328,20 +328,20 @@ echo ".discopane-notice, .privacy-policy-link, #main header, #plugindeprecation-
echo ".warning{display: none!important; } .addon[notification=warning]{background-image: none!important;}" >> toolkit/mozapps/extensions/content/extensions.css
# Hide extra links in about box
# about: page mods, like rights.
## Hide extra links in about box
find -wholename '*/brand.dtd' |xargs /bin/sed 's/trademarkInfo.part1.*/trademarkInfo.part1 "">/' -i
for STRING in rights-intro-point-2 rights-intro-point-3 rights-intro-point-4 rights-intro-point-5 rights-intro-point-6 rights-webservices rights-safebrowsing
do
find -name aboutRights.ftl | xargs sed -i "s/^$STRING.*/$STRING = /"
done
#Remove invalid policy for trisquel.
##Remove invalid policy for trisquel.
find -name aboutRights.ftl | xargs sed -i '/rights-intro-point-5/,$d'
delete_point() {
sed -i "/$1/d" "$(find -name $2)"
}
delete_point rights-intro-point-5 aboutRights.xhtml
delete_point rights-intro-point-6 aboutRights.xhtml
delete_point rights-intro-point-5 aboutRights-unbranded.xhtml
find -name aboutRights.xhtml |xargs sed -i "/rights-intro-point-5/d"
find -name aboutRights.xhtml |xargs sed -i "/rights-intro-point-6/d"
find -name aboutRights-unbranded.xhtml |xargs sed -i "/rights-intro-point-5/d"
#EO about: mods.
sed -i 's/<a\ href\=\"http\:\/\/www.mozilla.org\/\">Mozilla\ Project<\/a>/<a\ href\=\"http\:\/\/www.trisquel.info\/\"\>Trisquel\ Project<\/a>/g' browser/base/content/overrides/app-license.html