diff --git a/install/preflight/trap-errors.sh b/install/preflight/trap-errors.sh index de66219..57fbede 100755 --- a/install/preflight/trap-errors.sh +++ b/install/preflight/trap-errors.sh @@ -24,7 +24,11 @@ catch_errors() { echo " ▀▀▀▀▀▀▀ ▀ ▀ ▀▀▀ ▀ ▀▀▀▀▀▀ " echo " " - echo "You can retry by running: bash ~/.local/share/omarchy/install.sh" + if gum confirm "Retry installation?"; then + bash ~/.local/share/omarchy/install.sh + else + echo "You can retry later by running: bash ~/.local/share/omarchy/install.sh" + fi } trap catch_errors ERR