termux-change-repo: Fix if
instead of elif
This commit is contained in:
parent
cf658ede1e
commit
ce5e4f1d2b
@ -2,7 +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.148
|
||||
TERMUX_PKG_VERSION=0.149
|
||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||
TERMUX_PKG_ESSENTIAL=true
|
||||
|
@ -16,7 +16,7 @@ select_repository() {
|
||||
SCIENCE="https://packages.termux.org/apt/termux-science"
|
||||
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"
|
||||
MAIN="https://packages-cf.termux.org/apt/termux-main"
|
||||
GAME="https://packages-cf.termux.org/apt/termux-games"
|
||||
|
Loading…
Reference in New Issue
Block a user