termux-tools: termux-change-repo: fix unknown repository error

This commit is contained in:
2096779623 2022-04-05 08:25:12 +08:00 committed by Henrik Grimler
parent a93394d31d
commit 891932b344
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -80,13 +80,13 @@ select_repository() {
ROOT="https://mirrors.bfsu.edu.cn/termux/apt/termux-root"
X11="https://mirrors.bfsu.edu.cn/termux/apt/termux-x11"
elif [ "$1" == "Mirrors by Chongqing University" ]; then
elif [ "$1" == "Mirrors by CQUPT" ]; then
echo "[*] Chongqing University (CN) mirrors selected"
MAIN="https://mirrors.cqupt.edu.cn/termux/apt/termux-main"
ROOT="https://mirrors.cqupt.edu.cn/termux/apt/termux-root"
X11="https://mirrors.cqupt.edu.cn/termux/apt/termux-x11"
elif [ "$1" == "Mirrors by Dongguan University of Technology" ]; then
elif [ "$1" == "Mirrors by DGUT" ]; then
echo "[*] Dongguan University of Technology (CN) mirrors selected"
MAIN="https://mirrors.dgut.edu.cn/termux/apt/termux-main"
ROOT="https://mirrors.dgut.edu.cn/termux/apt/termux-root"