From 614e12ee19c5cc654c86ce43324d4c2a77926c49 Mon Sep 17 00:00:00 2001 From: Zenithal Date: Tue, 10 Jan 2023 12:13:52 +0000 Subject: [PATCH] help: aosp-monthly: use curl We are still experiencing malicious traffic downloading this file, 1TB of them from curl as of last 24h There are also constant downloads from wget, all of which have been blocked. Closes https://github.com/tuna/mirror-web/issues/333 --- help/_posts/1970-01-01-aosp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help/_posts/1970-01-01-aosp.md b/help/_posts/1970-01-01-aosp.md index c23a2b1..2a9f023 100644 --- a/help/_posts/1970-01-01-aosp.md +++ b/help/_posts/1970-01-01-aosp.md @@ -47,7 +47,7 @@ chmod a+x ~/bin/repo 使用方法如下: ```bash -wget -c {{ site.url }}/aosp-monthly/aosp-latest.tar # 下载初始化包 +curl -OC - {{ site.url }}/aosp-monthly/aosp-latest.tar # 下载初始化包 tar xf aosp-latest.tar cd AOSP # 解压得到的 AOSP 工程目录 # 这时 ls 的话什么也看不到,因为只有一个隐藏的 .repo 目录