From 88d60e14683f3bfa57bb7c07577252b0f4058d34 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 20 Jul 2026 11:39:50 -0700 Subject: [PATCH] Point gum prompts at the terminal in the quattro upgrade The user-transition script is fed to bash on stdin, so the browser-close gum confirm read the script itself: it auto-declined and swallowed the remaining script text, leaving bash to fail on a mid-construct syntax error. The outer confirm and reboot prompts had the same exposure when the script runs via curl | bash. Read all three from /dev/tty. Co-Authored-By: Claude Fable 5 --- bin/omarchy-upgrade-to-quattro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/omarchy-upgrade-to-quattro b/bin/omarchy-upgrade-to-quattro index 94801bec..59f29980 100755 --- a/bin/omarchy-upgrade-to-quattro +++ b/bin/omarchy-upgrade-to-quattro @@ -311,7 +311,7 @@ Make sure you have a backup. EOF - gum confirm "Continue with upgrade?" || exit 0 + gum confirm "Continue with upgrade?" &2 return 0 fi @@ -2401,7 +2401,7 @@ EOF if (( auto_reboot )); then log "Rebooting because --reboot was passed" as_root systemctl reboot -elif gum confirm "Reboot to complete Quattro upgrade now?"; then +elif gum confirm "Reboot to complete Quattro upgrade now?"