termux-tools: mv cloudflare mirror up in termux-change-repo list
Quite often users probably just use first one, and we want to make use of cloudflare's cache if possible.
This commit is contained in:
parent
362076f2b5
commit
9ba3d05f37
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://termux.org/
|
||||
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.163
|
||||
TERMUX_PKG_VERSION=0.164
|
||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||
TERMUX_PKG_ESSENTIAL=true
|
||||
|
@ -8,18 +8,18 @@ if [ "$1" == "--help" ] || [ "$1" == "-help" ]; then
|
||||
fi
|
||||
|
||||
select_repository() {
|
||||
if [ "$1" == "Default repositories" ]; then
|
||||
echo "[*] Termux primary host (EU) selected"
|
||||
MAIN="https://packages.termux.org/apt/termux-main"
|
||||
ROOT="https://packages.termux.org/apt/termux-root"
|
||||
X11="https://packages.termux.org/apt/termux-x11"
|
||||
|
||||
elif [ "$1" == "Default repositories (CF)" ]; then
|
||||
if [ "$1" == "Default repositories (CF)" ]; then
|
||||
echo "[*] Termux primary host (worldwide) selected"
|
||||
MAIN="https://packages-cf.termux.org/apt/termux-main"
|
||||
ROOT="https://packages-cf.termux.org/apt/termux-root"
|
||||
X11="https://packages-cf.termux.org/apt/termux-x11"
|
||||
|
||||
elif [ "$1" == "Default repositories" ]; then
|
||||
echo "[*] Termux primary host (EU) selected"
|
||||
MAIN="https://packages.termux.org/apt/termux-main"
|
||||
ROOT="https://packages.termux.org/apt/termux-root"
|
||||
X11="https://packages.termux.org/apt/termux-x11"
|
||||
|
||||
elif [ "$1" == "GH Mirrors by Kcubeterm" ]; then
|
||||
echo "[*] GH mirrors selected"
|
||||
MAIN="https://dl.kcubeterm.com/termux-main"
|
||||
|
Loading…
Reference in New Issue
Block a user