Swap it around a bit

This commit is contained in:
David Heinemeier Hansson 2025-08-22 17:04:26 +02:00
parent 44d6314929
commit e33219f611

View File

@ -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