From 268aa8ac777d74f6fd9577f56d5327268e592635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C4=9F=C4=B1z=20Zengin?= Date: Mon, 17 Jun 2024 00:21:57 +0300 Subject: [PATCH] Update install-termux.sh --- install-termux.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install-termux.sh b/install-termux.sh index ae22f6a..f7c1f94 100644 --- a/install-termux.sh +++ b/install-termux.sh @@ -3,7 +3,7 @@ # By YZBruh # -set -e +set -ex VERSION="2.1.0" CUR_DIR="$(pwd)" @@ -23,13 +23,13 @@ if [[ "${UNAME}" == "aarch64" ]] || [[ "${UNAME}" == "armv8a" ]]; then ARCH="aarch64" elif [[ "${UNAME}" == "aarch32" ]] || [[ "${UNAME}" == "armv7a" ]]; then ARCH="armv7a" + SUB_PREF="eabi" else echo " - Unsupported arch: ${UNAME}!" abort fi -REL_LINK="https://github.com/YZBruh/pbt/releases/download/${VERSION}/pmt-${ARCH}-linux-android.xz" - +REL_LINK="https://github.com/YZBruh/pbt/releases/download/${VERSION}/pmt-${ARCH}-linux-android${SUB_PREF}.xz" if [ -f "${TERMUX_BIN_PREFIX}/pmt" ]; then read -p " - pmt already installed. Are you trying to update etc? (y/n) " state