Skip to content

Commit

Permalink
termux-tools: update path for termux.mentality.rip mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid Pliushch committed Jun 4, 2021
1 parent 19ca4ee commit 1952a8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions packages/termux-tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +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.123
TERMUX_PKG_REVISION=3
TERMUX_PKG_VERSION=0.124
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_ESSENTIAL=true
Expand Down
2 changes: 1 addition & 1 deletion packages/termux-tools/pkg
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ select_mirror() {
mirrors[50]="$main_repo"
mirrors[20]="https://grimler.se/termux-packages-24"
mirrors[16]="https://dl.kcubeterm.me/termux-packages-24"
mirrors[14]="https://termux.mentality.rip/termux-packages-24"
mirrors[14]="https://termux.mentality.rip/termux-main"

local current_mirror
current_mirror=$(grep -m 1 -P "^\s*deb\s+" @TERMUX_PREFIX@/etc/apt/sources.list | grep -oP 'https?://[^\s]+')
Expand Down
12 changes: 6 additions & 6 deletions packages/termux-tools/termux-change-repo
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ select_repository() {

elif [ "$1" == "Mirrors by A1batross" ]; then
echo "[*] A1batross's mirrors selected"
MAIN="https://termux.mentality.rip/termux-packages-24"
GAME="https://termux.mentality.rip/game-packages-24"
ROOT="https://termux.mentality.rip/termux-root-packages-24"
SCIENCE="https://termux.mentality.rip/science-packages-24"
UNSTABLE="https://termux.mentality.rip/unstable-packages"
X11="https://termux.mentality.rip/x11-packages"
MAIN="https://termux.mentality.rip/termux-main"
GAME="https://termux.mentality.rip/termux-games"
ROOT="https://termux.mentality.rip/termux-root"
SCIENCE="https://termux.mentality.rip/termux-science"
UNSTABLE="https://termux.mentality.rip/termux-unstable"
X11="https://termux.mentality.rip/termux-x11"

elif [ "$1" == "Mirrors by Grimler" ]; then
echo "[*] Grimler's mirrors selected"
Expand Down

0 comments on commit 1952a8a

Please sign in to comment.