termux-tools: pkg: don't use ipfs.sloppyta.co due to aggressive caching

Clients using ipfs.sloppyta.co IPFS gateway won't see repo updates.

Use termux.mentality.rip web mirror as it seems working fine now.
This commit is contained in:
Leonid Pliushch 2021-02-15 18:30:27 +02:00
parent a786330d3c
commit b10c5eb196
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 3 additions and 3 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.109
TERMUX_PKG_VERSION=0.110
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_ESSENTIAL=true

View File

@ -46,8 +46,8 @@ select_mirror() {
declare -A mirrors
mirrors[30]="$main_repo"
mirrors[20]="https://ipfs.io/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[19]="https://ipfs.sloppyta.co/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[18]="https://ipfs.2read.net/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[19]="https://ipfs.2read.net/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx"
mirrors[18]="https://termux.mentality.rip/termux-packages-24"
mirrors[13]="https://grimler.se/termux-packages-24"
local current_mirror