From e33219f6111f3d93f2d44bc044713b970b3f640a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 22 Aug 2025 17:04:26 +0200 Subject: [PATCH] Swap it around a bit --- install.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index 19ec9212..fc793750 100755 --- a/install.sh +++ b/install.sh @@ -10,14 +10,8 @@ OMARCHY_INSTALL=~/.local/share/omarchy/install catch_errors() { echo -e "\n\e[31mOmarchy installation failed!\e[0m" echo "The failing command was: \`$BASH_COMMAND\` (exit code: $?)" - - if [[ -n $OMARCHY_BARE ]]; then - echo "You can retry by running: OMARCHY_BARE=true bash ~/.local/share/omarchy/install.sh" - else - echo "You can retry by running: bash ~/.local/share/omarchy/install.sh" - fi - - echo "See your installation log in ~/.local/state/omarchy/installation.log" + echo "See your installation log: ~/.local/state/omarchy/installation.log" + echo echo "Get help from the community (or scan QR code below): https://discord.gg/tXFUdasqhY" echo " " echo " █▀▀▀▀▀█ ▄ ▄ ▀▄▄▄█ █▀▀▀▀▀█ " @@ -34,6 +28,12 @@ catch_errors() { echo " █ ▀▀▀ █ ██ ▀ █▄█ ▄▄▄█▀ █ " echo " ▀▀▀▀▀▀▀ ▀ ▀ ▀▀▀ ▀ ▀▀▀▀▀▀ " echo " " + + if [[ -n $OMARCHY_BARE ]]; then + echo "You can retry by running: OMARCHY_BARE=true bash ~/.local/share/omarchy/install.sh" + else + echo "You can retry by running: bash ~/.local/share/omarchy/install.sh" + fi } trap catch_errors ERR