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