Skip to content

Commit

Permalink
Use tax.xz for Firefox package starting in version 135 in pinned brow…
Browse files Browse the repository at this point in the history
…sers (#15115)
  • Loading branch information
DineshKumarRA authored Jan 19, 2025
1 parent a62ef3d commit 86f165e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/pinned_browsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,12 @@ def firefox_version_data():


def firefox_linux(version):
return "https://ftp.mozilla.org/pub/firefox/releases/%s/linux-x86_64/en-US/firefox-%s.tar.bz2" % (version, version)
if int(version.split(".")[0]) < 135:
return "https://ftp.mozilla.org/pub/firefox/releases/%s/linux-x86_64/en-US/firefox-%s.tar.bz2" % (
version, version)
else:
return "https://ftp.mozilla.org/pub/firefox/releases/%s/linux-x86_64/en-US/firefox-%s.tar.xz" % (
version, version)


def firefox_mac(version):
Expand Down

0 comments on commit 86f165e

Please sign in to comment.