aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/librewolf-neuter-locale-download.patch
blob: da300542f528f18d7d6abdf83d9871129ee7a4c9 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/scripts/librewolf-patches.py b/scripts/librewolf-patches.py
index 48dc6bc..01a6c58 100755
--- a/scripts/librewolf-patches.py
+++ b/scripts/librewolf-patches.py
@@ -147,12 +147,6 @@ def librewolf_patches():
         with open(file, "w") as f:
             f.write("{}-{}".format(version,release))
 
-    print("-> Downloading locales from https://github.com/mozilla-l10n/firefox-l10n")
-    with TemporaryDirectory() as tmpdir:
-        exec(f"wget -qO {tmpdir}/l10n.zip 'https://codeload.github.com/mozilla-l10n/firefox-l10n/zip/refs/heads/main'")
-        exec(f"unzip -qo {tmpdir}/l10n.zip -d {tmpdir}/l10n")
-        exec(f"mv {tmpdir}/l10n/firefox-l10n-main lw/l10n")
-
     print("-> Patching appstrings.properties")
     # Why is "Firefox" hardcoded there???
     exec("find . -path '*/appstrings.properties' -exec sed -i s/Firefox/LibreWolf/ {} \;")