mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Offer instant retry of the installation on failure
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user