Files
plain-ub-overfork/scripts/install_termux_reqs.sh
2025-02-08 12:00:25 +05:30

12 lines
355 B
Bash
Executable File

#!/usr/bin/env bash
grep -qi "com.termux" <<< "$PATH" || { echo "Not a termux Env, Skipping..."; exit; }
mkdir -p "${HOME}/.config/pip" > /dev/null 2>&1
echo -e '[global]\nextra-index-url = https://termux-user-repository.github.io/pypi/' > "${HOME}/.config/pip.conf"
./scripts/install_ub_core.sh
grep -Ev "^#|openai" req.txt | xargs -n 1 pip install