[termux-adb] replace pkg in favor of apt-get on script.
This commit is contained in:
parent
d4646d4286
commit
2414e2db9c
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue