termux-tools: pkg: mirrors should not have same weight
This commit is contained in:
parent
bd70ab9b76
commit
058b1c7ad4
@ -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
|
||||
|
@ -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/._-]+')
|
||||
|
Loading…
Reference in New Issue
Block a user