summaryrefslogtreecommitdiffstats
path: root/toolkit/components/pdfjs/update.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
commita90a5cba08fdf6c0ceb95101c275108a152a3aed (patch)
tree532507288f3defd7f4dcf1af49698bcb76034855 /toolkit/components/pdfjs/update.sh
parentAdding debian version 126.0.1-1. (diff)
downloadfirefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz
firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/pdfjs/update.sh')
-rwxr-xr-xtoolkit/components/pdfjs/update.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolkit/components/pdfjs/update.sh b/toolkit/components/pdfjs/update.sh
index 3673f68784..50bde30eb6 100755
--- a/toolkit/components/pdfjs/update.sh
+++ b/toolkit/components/pdfjs/update.sh
@@ -44,6 +44,9 @@ rsync -a -v --delete "$ROOT/build/mozcentral/browser/extensions/pdfjs/content/we
ls -R "$ROOT/build/mozcentral/browser/"
cp "$ROOT"/build/mozcentral/browser/locales/en-US/pdfviewer/*.ftl "$GECKO_PATH/toolkit/locales/en-US/toolkit/pdfviewer/" || true
+# Update the revision in the toolchains.yml file for the Talos tests.
+sed -i -z "s/\(mozilla-pdf\.js.*revision: \)[0-9a-f]*/\1$1/g" "$GECKO_PATH/taskcluster/kinds/fetch/toolchains.yml"
+
if [ -v PDFJS_TMPDIR ]; then
rm -rf "$PDFJS_TMPDIR"
fi \ No newline at end of file