termux-tools: pkg: disable mirror termux.mentality.rip

Doesn't receive updates since December 25, 2020.
This commit is contained in:
Leonid Pliushch 2021-01-02 23:05:36 +02:00
parent 0d5858d98a
commit 4b8ffa260e
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 3 additions and 4 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.101
TERMUX_PKG_VERSION=0.102
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_ESSENTIAL=true

View File

@ -45,9 +45,8 @@ select_mirror() {
declare -A mirrors
mirrors[50]="$main_repo"
mirrors[23]="https://termux.mentality.rip/termux-packages-24"
mirrors[15]="https://main.termux-mirror.ml"
mirrors[12]="https://grimler.se/termux-packages-24"
mirrors[25]="https://main.termux-mirror.ml"
mirrors[25]="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/._-]+')