[termux-adb] replace pkg in favor of apt-get on script.

This commit is contained in:
Luis Guzmán 2026-01-04 15:17:50 -06:00
parent d4646d4286
commit 2414e2db9c
1 changed files with 1 additions and 1 deletions

View File

@ -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)"