termux-tools: termux-change-repo: fix unknown repository error
This commit is contained in:
parent
a93394d31d
commit
891932b344
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue