Skip to content

🛠 [fix] Inline lib functions into install.sh to fix bootstrap sourcing#102

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/new-install-script-source-external-lib
Draft

🛠 [fix] Inline lib functions into install.sh to fix bootstrap sourcing#102
Copilot wants to merge 2 commits into
mainfrom
copilot/new-install-script-source-external-lib

Conversation

Copilot AI commented Apr 30, 2026

Copy link
Copy Markdown

install.sh is the curl-pipe bootstrap script — it runs before the repo is cloned, so sourcing lib/log.sh and lib/distro.sh by path always fails on a fresh machine.

Changes

  • Removed SCRIPT_DIR derivation and both . "$SCRIPT_DIR/lib/*.sh" source calls
  • Inlined the minimal logging surface (_log_use_color, _log_fmt_prefix, _log_print, log_info, log_warn, log_error) from lib/log.sh
  • Inlined distro() OS detection from lib/distro.sh

All inlined code is verbatim from the originals — no behavioral changes.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • dl.google.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI linked an issue Apr 30, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add install script for external library sources 🛠 [fix] Inline lib functions into install.sh to fix bootstrap sourcing Apr 30, 2026
Copilot AI requested a review from tomy0000000 April 30, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New install script source external lib

2 participants