From 2414e2db9c9933281018296ab351c974ed89e8f9 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Sun, 4 Jan 2026 15:17:50 -0600 Subject: [PATCH] [termux-adb] replace pkg in favor of apt-get on script. --- android/termux-api_adb_connect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/termux-api_adb_connect.sh b/android/termux-api_adb_connect.sh index d827f26..7b6197c 100644 --- a/android/termux-api_adb_connect.sh +++ b/android/termux-api_adb_connect.sh @@ -21,7 +21,7 @@ install_if_missing() { need termux-notification || pkgs+=("termux-api") if ((${#pkgs[@]})); then echo "[*] Installing: ${pkgs[*]}" - pkg install -y "${pkgs[@]}" >/dev/null + apt-get install -y "${pkgs[@]}" >/dev/null fi need adb || die "Missing adb. Install: pkg install android-tools" need termux-notification || die "Missing termux-notification. Install: pkg install termux-api (and install Termux:API app)"