File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,8 +35,13 @@ source <(echo "c3Bpbm5lcj0oICd8JyAnLycgJy0nICdcJyApOwoKY291bnQoKXsKICBzcGluICYKI
3535
3636# Dependencies Installation
3737center " * Dependencies installation..."
38- pkg update -y
39- pkg upgrade -y -o Dpkg::Options::=" --force-confnew"
38+ # Skip mirror selection if sources.list is already configured (for CI)
39+ if ! grep -q " packages.termux.dev" /data/data/com.termux/files/usr/etc/apt/sources.list 2> /dev/null; then
40+ pkg update -y
41+ else
42+ apt update -y
43+ fi
44+ DEBIAN_FRONTEND=noninteractive pkg upgrade -y -o Dpkg::Options::=" --force-confnew"
4045pkg install -y binutils python autoconf bison clang coreutils curl findutils apr apr-util postgresql openssl readline libffi libgmp libpcap libsqlite libgrpc libtool libxml2 libxslt ncurses make ncurses-utils ncurses git wget unzip zip tar termux-tools termux-elf-cleaner pkg-config git ruby -o Dpkg::Options::=" --force-confnew"
4146python3 -m pip install requests
4247
You can’t perform that action at this time.
0 commit comments