termux-tools: add new mirror to termux-change-repo
This commit is contained in:
parent
471dc654e8
commit
7b49473d84
@ -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.145
|
||||
TERMUX_PKG_VERSION=0.146
|
||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||
TERMUX_PKG_ESSENTIAL=true
|
||||
|
@ -9,7 +9,7 @@ fi
|
||||
|
||||
select_repository() {
|
||||
if [ "$1" == "Default repositories" ]; then
|
||||
echo "[*] Default repositories selected"
|
||||
echo "[*] Termux primary host (USA) selected"
|
||||
MAIN="https://packages.termux.org/apt/termux-main"
|
||||
GAME="https://packages.termux.org/apt/termux-games"
|
||||
ROOT="https://packages.termux.org/apt/termux-root"
|
||||
@ -25,7 +25,7 @@ select_repository() {
|
||||
X11="https://deb.kcubeterm.me/termux-x11"
|
||||
|
||||
elif [ "$1" == "Mirrors by A1batross" ]; then
|
||||
echo "[*] A1batross's mirrors selected"
|
||||
echo "[*] A1batross mirrors selected"
|
||||
MAIN="https://termux.mentality.rip/termux-main"
|
||||
GAME="https://termux.mentality.rip/termux-games"
|
||||
ROOT="https://termux.mentality.rip/termux-root"
|
||||
@ -33,13 +33,21 @@ select_repository() {
|
||||
X11="https://termux.mentality.rip/termux-x11"
|
||||
|
||||
elif [ "$1" == "Mirrors by Astra ISP" ]; then
|
||||
echo "[*] Astra ISP mirrors selected"
|
||||
echo "[*] Astra ISP (UA) mirrors selected"
|
||||
MAIN="https://termux.astra.in.ua/apt/termux-main"
|
||||
GAME="https://termux.astra.in.ua/apt/termux-games"
|
||||
ROOT="https://termux.astra.in.ua/apt/termux-root"
|
||||
SCIENCE="https://termux.astra.in.ua/apt/termux-science"
|
||||
X11="https://termux.astra.in.ua/apt/termux-x11"
|
||||
|
||||
elif [ "$1" == "Mirrors by Bardia Moshiri" ]; then
|
||||
echo "[*] Bardia Moshiri (Iran) mirrors selected"
|
||||
MAIN="https://mirror.bardia.tech/termux/termux-packages-24/"
|
||||
GAME="https://mirror.bardia.tech/termux/game-packages-24/"
|
||||
ROOT="https://mirror.bardia.tech/termux/termux-root-packages-24/"
|
||||
SCIENCE="https://mirror.bardia.tech/termux/science-packages-24/"
|
||||
X11="https://mirror.bardia.tech/termux/x11-packages/"
|
||||
|
||||
elif [ "$1" == "Mirrors by Grimler" ]; then
|
||||
echo "[*] Grimler's mirrors selected"
|
||||
MAIN="https://grimler.se/termux-packages-24"
|
||||
@ -65,7 +73,7 @@ select_repository() {
|
||||
X11="https://termux.librehat.com/apt/termux-x11"
|
||||
|
||||
elif [ "$1" == "Mirrors by Tsinghua University" ]; then
|
||||
echo "[*] Tsinghua's mirrors selected"
|
||||
echo "[*] Tsinghua's (CN) mirrors selected"
|
||||
MAIN="https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-main"
|
||||
GAME="https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-games"
|
||||
ROOT="https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-root"
|
||||
@ -73,7 +81,7 @@ select_repository() {
|
||||
X11="https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-x11"
|
||||
|
||||
elif [ "$1" == "Mirrors by BFSU" ]; then
|
||||
echo "[*] BFSU mirrors selected"
|
||||
echo "[*] BFSU (CN) mirrors selected"
|
||||
MAIN="https://mirrors.bfsu.edu.cn/termux/apt/termux-main"
|
||||
GAME="https://mirrors.bfsu.edu.cn/termux/apt/termux-games"
|
||||
ROOT="https://mirrors.bfsu.edu.cn/termux/apt/termux-root"
|
||||
@ -81,7 +89,7 @@ select_repository() {
|
||||
X11="https://mirrors.bfsu.edu.cn/termux/apt/termux-x11"
|
||||
|
||||
elif [ "$1" == "Mirrors by NJU" ]; then
|
||||
echo "[*] NJU mirrors selected"
|
||||
echo "[*] NJU (CN) mirrors selected"
|
||||
MAIN="https://mirror.nju.edu.cn/termux/apt/termux-main"
|
||||
GAME="https://mirror.nju.edu.cn/termux/apt/termux-games"
|
||||
ROOT="https://mirror.nju.edu.cn/termux/apt/termux-root"
|
||||
@ -89,7 +97,7 @@ select_repository() {
|
||||
X11="https://mirror.nju.edu.cn/termux/apt/termux-x11"
|
||||
|
||||
elif [ "$1" == "Mirrors by USTC" ]; then
|
||||
echo "[*] USTC mirrors selected"
|
||||
echo "[*] USTC (CN) mirrors selected"
|
||||
MAIN="https://mirrors.ustc.edu.cn/termux/apt/termux-main"
|
||||
GAME="https://mirrors.ustc.edu.cn/termux/apt/termux-games"
|
||||
ROOT="https://mirrors.ustc.edu.cn/termux/apt/termux-root"
|
||||
@ -151,6 +159,7 @@ dialog \
|
||||
"GH Mirrors by Kcubeterm" "Hosted on Github Release" off \
|
||||
"Mirrors by A1batross" "Hosted on termux.mentality.rip" off \
|
||||
"Mirrors by Astra ISP" "Hosted on termux.astra.in.ua" off \
|
||||
"Mirrors by Bardia Moshiri" "Hosted on mirror.bardia.tech" off \
|
||||
"Mirrors by Grimler" "Hosted on grimler.se" off \
|
||||
"Mirrors by Kcubeterm" "Hosted on dl.kcubeterm.me" off \
|
||||
"Mirrors by Librehat" "Hosted on termux.librehat.com" off \
|
||||
|
Loading…
Reference in New Issue
Block a user