|
|
@ -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" |
|
|
|
|
|
|
|