mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Only do a gum offer if we have gum
This commit is contained in:
@@ -24,7 +24,7 @@ catch_errors() {
|
||||
echo " ▀▀▀▀▀▀▀ ▀ ▀ ▀▀▀ ▀ ▀▀▀▀▀▀ "
|
||||
echo " "
|
||||
|
||||
if gum confirm "Retry installation?"; then
|
||||
if command -v gum >/dev/null && 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"
|
||||
|
||||
Reference in New Issue
Block a user