Offer to retry without having to type a command

This commit is contained in:
David Heinemeier Hansson committed 2025-08-31 13:06:26 +02:00
1 parent f4b6222c1c
commit 32fc28de5e
1 file changed
+3 -4
+3 -4
View File
@@ -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
}