From d5fac3a9d7ddffc39c6372eb1f5fffdb6d524d9a Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Tue, 18 May 2021 15:56:34 +0300 Subject: [PATCH] termux-tools: pkg: get rid of redundant IPFS gateway, use dweb.link as IPFS gateway, recalculate traffic shares --- packages/termux-tools/pkg | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/termux-tools/pkg b/packages/termux-tools/pkg index db5cee894..d7aad2776 100755 --- a/packages/termux-tools/pkg +++ b/packages/termux-tools/pkg @@ -73,11 +73,10 @@ select_mirror() { declare -A mirrors mirrors[30]="$main_repo" - mirrors[19]="https://10.via0.com/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx" - mirrors[18]="https://ipfs.io/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx" + mirrors[18]="https://k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx.ipns.dweb.link" + mirrors[18]="https://grimler.se/termux-packages-24" + mirrors[18]="https://dl.kcubeterm.me/termux-packages-24" mirrors[16]="https://termux.mentality.rip/termux-packages-24" - mirrors[12]="https://grimler.se/termux-packages-24" - mirrors[5]="https://dl.kcubeterm.me/termux-packages-24" local current_mirror current_mirror=$(grep -P "^\s*deb\s+" @TERMUX_PREFIX@/etc/apt/sources.list | grep -oP 'https?://[^\s]+')