termux-tools: add new mirror for termux-change-repo
Adding as Germany (DE) mirror according to GeoIP lookup for termux.sahilister.in. Closes https://github.com/termux/termux-packages/issues/8535
This commit is contained in:
parent
853f41d11e
commit
7c4de3b76e
@ -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.155
|
||||
TERMUX_PKG_VERSION=0.156
|
||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||
TERMUX_PKG_ESSENTIAL=true
|
||||
|
@ -56,6 +56,12 @@ select_repository() {
|
||||
ROOT="https://termux.librehat.com/apt/termux-root"
|
||||
X11="https://termux.librehat.com/apt/termux-x11"
|
||||
|
||||
elif [ "$1" == "Mirrors by Sahilister" ]; then
|
||||
echo "[*] Sahilister's (DE) mirrors selected"
|
||||
MAIN="https://termux.sahilister.in/apt/termux-main"
|
||||
ROOT="https://termux.sahilister.in/apt/termux-root"
|
||||
X11="https://termux.sahilister.in/apt/termux-x11"
|
||||
|
||||
elif [ "$1" == "Mirrors by Tsinghua University" ]; then
|
||||
echo "[*] Tsinghua's (CN) mirrors selected"
|
||||
MAIN="https://mirrors.tuna.tsinghua.edu.cn/termux/apt/termux-main"
|
||||
@ -131,6 +137,7 @@ dialog \
|
||||
"Mirrors by Bardia Moshiri" "Hosted on mirror.bardia.tech" off \
|
||||
"Mirrors by Grimler" "Hosted on grimler.se" off \
|
||||
"Mirrors by Librehat" "Hosted on termux.librehat.com" off \
|
||||
"Mirrors by Sahilister" "Hosted on termux.sahilister.in" off \
|
||||
"Mirrors by Tsinghua University" "Hosted on mirrors.tuna.tsinghua.edu.cn" off \
|
||||
"Mirrors by BFSU" "Hosted on mirrors.bfsu.edu.cn" off \
|
||||
"Mirrors by NJU" "Hosted on mirror.nju.edu.cn" off \
|
||||
|
Loading…
Reference in New Issue
Block a user