From 32fc28de5e547a6a8edc7efc79edca8e93fdbd32 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 31 Aug 2025 13:06:26 +0200 Subject: [PATCH] Offer to retry without having to type a command --- builder/cmds/autostart.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/builder/cmds/autostart.sh b/builder/cmds/autostart.sh index ed55f4b..7d526f5 100644 --- a/builder/cmds/autostart.sh +++ b/builder/cmds/autostart.sh @@ -37,11 +37,10 @@ catch_errors() { echo " ▀▀▀▀▀▀▀ ▀ ▀ ▀▀▀ ▀ ▀▀▀▀▀▀ " echo " " - if [[ -z ${OMARCHY_USER-} ]]; then - echo "You can retry by running: ~/.automated_script.sh" + if gum confirm "Retry installation?"; then + ./.automated_script.sh else - echo "You can retry by running: bash ~/.local/share/omarchy/install.sh || bash" - chroot_bash + echo "You can retry later by running: ~/.automated_script.sh" fi }