termux-tools: pkg: use cloudflare-backed host as default

Switch users to packages-cf.termux.org as primary package server to
avoid DNS issues with FossHost endpoint. This also should improve
download speeds.

However apt default sources.list should still use packages.termux.org
This commit is contained in:
Leonid Pliushch 2021-10-30 12:41:20 +03:00
parent 1e9f683518
commit 43ab4e0881
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -69,7 +69,7 @@ last_modified() {
}
select_mirror() {
local main_repo="https://packages.termux.org/apt/termux-main"
local main_repo="https://packages-cf.termux.org/apt/termux-main"
declare -A mirrors
mirrors[35]="$main_repo"