From 03053626e3e9f7009304be53169159fbfaa0bcc5 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 18 Jul 2025 17:49:56 -0700 Subject: [PATCH] Make these executable --- boot.sh | 0 install.sh | 10 +++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) mode change 100644 => 100755 boot.sh mode change 100644 => 100755 install.sh diff --git a/boot.sh b/boot.sh old mode 100644 new mode 100755 diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index 381b778..0c5af8a --- a/install.sh +++ b/install.sh @@ -1,8 +1,16 @@ +#!/bin/bash + # Exit immediately if a command exits with a non-zero status set -e # Give people a chance to retry running the installation -trap 'echo "Omarchy installation failed! You can retry by running: source ~/.local/share/omarchy/install.sh"' ERR +catch_errors() { + echo -e "\n\e[31mOmarchy installation failed!\e[0m" + echo "You can retry by running: bash ~/.local/share/omarchy/install.sh" + echo "Get help from the community: https://discord.gg/tXFUdasqhY" +} + +trap catch_errors ERR # Install everything for f in ~/.local/share/omarchy/install/*.sh; do