From c9247b81442e792f08db329e09071079e17fb788 Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Sun, 8 Mar 2026 18:39:51 +0100 Subject: [PATCH] Bootstrap: run install script with stdin from /dev/tty so prompts work when piped from curl Made-with: Cursor --- scripts/bootstrap-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap-install.sh b/scripts/bootstrap-install.sh index 43a2201..66c1c58 100755 --- a/scripts/bootstrap-install.sh +++ b/scripts/bootstrap-install.sh @@ -17,5 +17,6 @@ if [[ ! -f "$INSTALL_SCRIPT" ]]; then fi cd "$DEST" -[[ "$EUID" -ne 0 ]] && exec sudo bash "$INSTALL_SCRIPT" -exec bash "$INSTALL_SCRIPT" +# Use /dev/tty for stdin so prompts work when bootstrap is run as: curl ... | sudo bash +[[ "$EUID" -ne 0 ]] && exec sudo bash "$INSTALL_SCRIPT" < /dev/tty +exec bash "$INSTALL_SCRIPT" < /dev/tty