From c30de5e30b62aef4fa699e80aba7dc425f5db425 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 31 Jul 2020 14:29:31 +0300 Subject: [PATCH] termux-tools: use https://termux.org/packages/ as fallback instead of direct Bintray URL --- packages/termux-tools/build.sh | 2 +- packages/termux-tools/pkg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index cf8d3ad38..c91a14b77 100644 --- a/packages/termux-tools/build.sh +++ b/packages/termux-tools/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://termux.com/ TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" TERMUX_PKG_LICENSE="GPL-3.0" -TERMUX_PKG_VERSION=0.86 +TERMUX_PKG_VERSION=0.87 TERMUX_PKG_SKIP_SRC_EXTRACT=true TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_ESSENTIAL=true diff --git a/packages/termux-tools/pkg b/packages/termux-tools/pkg index aedd9a3ba..32910fa67 100755 --- a/packages/termux-tools/pkg +++ b/packages/termux-tools/pkg @@ -19,8 +19,8 @@ show_help() { } select_mirror() { - local main_repo="https://dl.bintray.com/termux/termux-packages-24" - local top_mirrors="${main_repo} https://termux.mentality.rip/termux-packages-24 https://grimler.se/termux-packages-24 https://main.termux-mirror.ml" + local main_repo="https://termux.org/packages" + local top_mirrors="https://dl.bintray.com/termux/termux-packages-24 https://termux.mentality.rip/termux-packages-24 https://grimler.se/termux-packages-24 https://main.termux-mirror.ml" local current_mirror current_mirror=$(grep -P "^\s*deb\s+" @TERMUX_PREFIX@/etc/apt/sources.list | grep -oP 'https?://[a-z0-9/._-]+')