termux-tools: pkg: get rid of redundant IPFS gateway, use dweb.link as IPFS gateway, recalculate traffic shares
This commit is contained in:
parent
5d32c11daf
commit
d5fac3a9d7
@ -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]+')
|
||||
|
Loading…
Reference in New Issue
Block a user