summarylogtreecommitdiffstats
path: root/0002-download-lang-packs-withou-git-clone.zen.patch
blob: 0495f1cca2c9a5f71b3f3f99c07842ba8f878d43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From e0581daf3013acfcc2d14e375cf7bc6734f11a9f Mon Sep 17 00:00:00 2001
From: everyx <lunt.luo@gmail.com>
Date: Tue, 24 Dec 2024 13:42:16 +0800
Subject: [PATCH 2/3] download lang packs withou git clone

---
 scripts/download-language-packs.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/scripts/download-language-packs.sh b/scripts/download-language-packs.sh
index 7fa7047..ca8d00e 100644
--- a/scripts/download-language-packs.sh
+++ b/scripts/download-language-packs.sh
@@ -1,16 +1,16 @@
 
-set -ex
+# set -ex
 
 CURRENT_DIR=$(pwd)
 
-git config --global init.defaultBranch main
-git config --global fetch.prune true
+# git config --global init.defaultBranch main
+# git config --global fetch.prune true
 
 cd $CURRENT_DIR
 
-cd ./l10n
-git clone https://github.com/mozilla-l10n/firefox-l10n
-cd $CURRENT_DIR
+# cd ./l10n
+# git clone https://github.com/mozilla-l10n/firefox-l10n
+# cd $CURRENT_DIR
 
 update_language() {
   langId=$1
-- 
2.47.1