termux-tools: pkg: update ipfs gateways & mirrors list

This commit is contained in:
Leonid Pliushch 2021-02-12 20:19:32 +02:00
parent 130f10f0a1
commit d6cc31ce65
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 5 additions and 6 deletions

View File

@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.108
TERMUX_PKG_VERSION=0.109
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_ESSENTIAL=true

View File

@ -45,11 +45,10 @@ select_mirror() {
declare -A mirrors
mirrors[30]="$main_repo"
mirrors[16]="https://grimler.se/termux-packages-24"
mirrors[15]="https://ipfs.io/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[14]="https://dweb.link/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[13]="https://bluelight.link/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[12]="https://ipfs.2read.net/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[20]="https://ipfs.io/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[19]="https://ipfs.sloppyta.co/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[18]="https://ipfs.2read.net/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[13]="https://grimler.se/termux-packages-24"
local current_mirror
current_mirror=$(grep -P "^\s*deb\s+" @TERMUX_PREFIX@/etc/apt/sources.list | grep -oP 'https?://[a-z0-9/._-]+')