termux-tools: pkg: mirrors should not have same weight

This commit is contained in:
Leonid Pliushch 2021-01-03 12:51:00 +02:00
parent bd70ab9b76
commit 058b1c7ad4
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.102
TERMUX_PKG_VERSION=0.103
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_ESSENTIAL=true

View File

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