From 26a8115a03d13ca564202961c3a4420fb6cb7054 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sun, 19 Apr 2020 23:04:55 +0300 Subject: [PATCH] termux-tools: update mirror list for termux-change-repo --- packages/termux-tools/build.sh | 2 +- packages/termux-tools/termux-change-repo | 28 ++++++++++++++++-------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index 7a557edca..23c6827a2 100644 --- a/packages/termux-tools/build.sh +++ b/packages/termux-tools/build.sh @@ -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 diff --git a/packages/termux-tools/termux-change-repo b/packages/termux-tools/termux-change-repo index 9073aaaf3..59f88671f 100755 --- a/packages/termux-tools/termux-change-repo +++ b/packages/termux-tools/termux-change-repo @@ -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"