diff --git a/bin/kei b/bin/kei index 6307ede..cb69d54 100755 --- a/bin/kei +++ b/bin/kei @@ -248,7 +248,7 @@ ${C1} ██╔═██╗ ██╔══╝ ██║╚════█ ${C1} ██║ ██╗███████╗██║███████║███████╗██║${C0} ${C1} ╚═╝ ╚═╝╚══════╝╚═╝╚══════╝╚══════╝╚═╝${C0} -${C2} KeiSeiKit · substrate v0.47${C0} +${C2} KeiSeiKit · substrate v0.48${C0} ${C3} ─────────────────────────────────────${C0} primary CLI : ${CV}${PRIMARY}${C0} profile : ${CV}${p}${C0} diff --git a/bootstrap.sh b/bootstrap.sh index 6691fb2..8201a03 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -227,6 +227,19 @@ log "checkout: $KIT_DIR" # --- 5. run install ------------------------------------------------------ log "running install.sh --profile=$PROFILE $YES_FLAG ${EXTRA_FLAGS[*]:-}" cd "$KIT_DIR" + +# v0.48: reattach stdin to /dev/tty for the install + everything after. +# Under `curl|bash` stdin is the curl pipe, so install.sh's interactive +# gates (5 places: language pick, preflight, hooks-activate, sleep wizard, +# PATH wiring) all silently skip via [ -t 0 ] being false. Reattaching ONCE +# here cascades correctly: every child script inherits the terminal stdin +# and its [ -t 0 ] returns true. Only do it if /dev/tty is actually +# present and readable (CI / nohup / systemd: skip — those are headless). +if [ -r /dev/tty ] && [ -w /dev/tty ]; then + exec &2 - read -r _reply