termux-tools: update mirror list for termux-change-repo

This commit is contained in:
Leonid Pliushch 2020-04-19 23:04:55 +03:00
parent b1d97322b2
commit 1fa297a587
2 changed files with 20 additions and 10 deletions

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=0.78
TERMUX_PKG_VERSION=0.79
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_ESSENTIAL=true

View File

@ -17,14 +17,14 @@ select_repository() {
UNSTABLE="https://dl.bintray.com/xeffyr/unstable-packages"
X11="https://dl.bintray.com/xeffyr/x11-packages"
elif [ "$1" == "Mirrors by Xeffyr" ]; then
echo "[*] Xeffyr's mirrors selected"
MAIN="https://main.termux-mirror.ml"
GAME="https://games.termux-mirror.ml"
ROOT="https://root.termux-mirror.ml"
SCIENCE="https://science.termux-mirror.ml"
UNSTABLE="https://unstable.termux-mirror.ml"
X11="https://x11.termux-mirror.ml"
elif [ "$1" == "Mirrors by A1batross" ]; then
echo "[*] A1batross's mirrors selected"
MAIN="https://termux.mentality.rip/termux-packages-24"
GAME="https://termux.mentality.rip/game-packages-24"
ROOT="https://termux.mentality.rip/termux-root-packages-24"
SCIENCE="https://termux.mentality.rip/science-packages-24"
UNSTABLE="https://termux.mentality.rip/unstable-packages"
X11="https://termux.mentality.rip/x11-packages"
elif [ "$1" == "Mirrors by Grimler" ]; then
echo "[*] Grimler's mirrors selected"
@ -35,6 +35,15 @@ select_repository() {
UNSTABLE="https://grimler.se/unstable-packages"
X11="https://grimler.se/x11-packages"
elif [ "$1" == "Mirrors by Xeffyr" ]; then
echo "[*] Xeffyr's mirrors selected"
MAIN="https://main.termux-mirror.ml"
GAME="https://games.termux-mirror.ml"
ROOT="https://root.termux-mirror.ml"
SCIENCE="https://science.termux-mirror.ml"
UNSTABLE="https://unstable.termux-mirror.ml"
X11="https://x11.termux-mirror.ml"
elif [ "$1" == "Mirrors by Tsinghua University" ]; then
echo "[*] Tsinghua's mirrors selected"
MAIN="https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24/"
@ -100,8 +109,9 @@ dialog \
--title "termux-change-repo" --clear \
--radiolist "Which mirror do you want to use?" 0 0 0 \
"Official repositories" "Hosted on Bintray" on \
"Mirrors by Xeffyr" "Hosted on termux-mirror.ml" off \
"Mirrors by A1batross" "Hosted on termux.mentality.rip" off \
"Mirrors by Grimler" "Hosted on grimler.se" off \
"Mirrors by Xeffyr" "Hosted on termux-mirror.ml" off \
"Mirrors by Tsinghua University" "Hosted on mirrors.tuna.tsinghua.edu.cn" off \
2> "$TEMPFILE"