scripts: change termux.org to termux.dev

This commit is contained in:
Henrik Grimler 2022-07-02 14:37:22 +02:00
parent 849765c3b7
commit d67db72a01
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
3 changed files with 6 additions and 6 deletions

View File

@ -39,10 +39,10 @@ termux_step_setup_variables() {
fi
TERMUX_REPO_URL=(
https://packages-cf.termux.org/termux-main-21
https://termux.org/game-packages-21-bin
https://termux.org/science-packages-21-bin
https://termux.org/termux-root-packages-21-bin
https://packages-cf.termux.dev/apt/termux-main-21
https://termux.dev/game-packages-21-bin
https://termux.dev/science-packages-21-bin
https://termux.dev/termux-root-packages-21-bin
)
TERMUX_REPO_DISTRIBUTION=(

View File

@ -29,6 +29,6 @@ def check_manifest(arch, manifest):
current_package[parts[0].strip()] = parts[1].strip()
for arch in ['all', 'aarch64', 'arm', 'i686', 'x86_64']:
manifest_url = f'https://termux.net/dists/stable/main/binary-{arch}/Packages'
manifest_url = f'https://packages.termux.dev/apt/termux-main-21/dists/stable/main/binary-{arch}/Packages'
with urllib.request.urlopen(manifest_url) as manifest:
check_manifest(arch, manifest)

View File

@ -16,7 +16,7 @@ trap 'rm -rf $BOOTSTRAP_TMPDIR' EXIT
TERMUX_ARCHITECTURES=("aarch64" "arm" "i686" "x86_64")
# Can be changed by using '--repository' option.
REPO_BASE_URL="https://packages-cf.termux.org/termux-main-21"
REPO_BASE_URL="https://packages-cf.termux.dev/apt/termux-main-21"
# A list of non-essential packages. By default it is empty, but can
# be filled with option '--add'.