termux-change-repo: Fix if instead of elif

This commit is contained in:
Yaksh Bariya 2021-10-30 15:28:21 +05:30
parent cf658ede1e
commit ce5e4f1d2b
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.148 TERMUX_PKG_VERSION=0.149
TERMUX_PKG_SKIP_SRC_EXTRACT=true TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_ESSENTIAL=true TERMUX_PKG_ESSENTIAL=true

View File

@ -16,7 +16,7 @@ select_repository() {
SCIENCE="https://packages.termux.org/apt/termux-science" SCIENCE="https://packages.termux.org/apt/termux-science"
X11="https://packages.termux.org/apt/termux-x11" X11="https://packages.termux.org/apt/termux-x11"
if [ "$1" == "Default repositories (CF)" ]; then elif [ "$1" == "Default repositories (CF)" ]; then
echo "[*] Termux primary host (worldwide) selected" echo "[*] Termux primary host (worldwide) selected"
MAIN="https://packages-cf.termux.org/apt/termux-main" MAIN="https://packages-cf.termux.org/apt/termux-main"
GAME="https://packages-cf.termux.org/apt/termux-games" GAME="https://packages-cf.termux.org/apt/termux-games"