iiab-tools/android/termux-setup
Luis Guzmán 53f7a97ee5 improve args handeling and logs 2026-01-06 06:08:23 -06:00
..
00_lib_common.sh improve selfcheck logic and advice 2026-01-06 04:29:13 -06:00
10_mod_logging.sh [termux-setup] break termux-setupv2 into modules 2026-01-06 02:06:52 -06:00
20_mod_termux_base.sh [termux-setup] break termux-setupv2 into modules 2026-01-06 02:06:52 -06:00
30_mod_debian.sh [termux-setup] break termux-setupv2 into modules 2026-01-06 02:06:52 -06:00
40_mod_termux_api.sh improve selfcheck logic and advice 2026-01-06 04:29:13 -06:00
50_mod_adb.sh add logic to identify a wrong connect usage. 2026-01-06 04:53:26 -06:00
60_mod_ppk_checks.sh improve args handeling and logs 2026-01-06 06:08:23 -06:00
99_main.sh improve args handeling and logs 2026-01-06 06:08:23 -06:00
README.md [termux-setup] break termux-setupv2 into modules 2026-01-06 02:06:52 -06:00
build_bundle.sh [termux-setup] break termux-setupv2 into modules 2026-01-06 02:06:52 -06:00
manifest.sh [termux-setup] break termux-setupv2 into modules 2026-01-06 02:06:52 -06:00

README.md

termux-setup modules

This project is maintained as multiple Bash "modules" that are bundled into a single script: 0_termux-setup_v2.sh (the file served for: curl ... | bash).

Rules

  • Modules MUST NOT include a shebang (#!...).
  • Modules SHOULD NOT run top-level code (prefer functions), except 99_main.sh.
  • Do not add set -euo pipefail in modules (the bundle already sets it once).
  • Keep module names stable and ordered via manifest.sh.

Recommended header for every module:

# termux-setup module.
# DO NOT add a shebang or "set -euo pipefail" here.
# Keep only function/variable definitions (no top-level execution).
# See: termux-setup/README.md

Rebuild:

cd termux-setup
bash build_bundle.sh